Skip to content

Commit f41d3d9

Browse files
swoboda1337claude
andcommitted
Update manifest URLs to use GitHub Pages
Changed firmware URLs in manifests to point to GitHub Pages instead of GitHub releases, ensuring all firmware files are accessible from a single consistent location. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent fe7e45b commit f41d3d9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ jobs:
103103
run: |
104104
TARGET="${{ matrix.target }}"
105105
REPO="${{ github.repository }}"
106+
REPO_OWNER=$(echo "$REPO" | cut -d'/' -f1)
107+
REPO_NAME=$(echo "$REPO" | cut -d'/' -f2)
108+
BASE_URL="https://${REPO_OWNER}.github.io/${REPO_NAME}"
106109
107110
# Get all release tags
108111
TAGS=$(gh release list --repo "$REPO" --json tagName -q '.[].tagName')
@@ -125,7 +128,7 @@ jobs:
125128
rm -f "$SHA256_FILE"
126129
127130
if [ -n "$SHA256" ] && [ ${#SHA256} -eq 64 ]; then
128-
BIN_URL="https://github.com/${REPO}/releases/download/${TAG}/network_adapter_${TARGET}.bin"
131+
BIN_URL="${BASE_URL}/${TAG}/network_adapter_${TARGET}.bin"
129132
130133
# Add to manifest using jq
131134
jq --arg ver "$VERSION" --arg url "$BIN_URL" --arg sha "$SHA256" \

0 commit comments

Comments
 (0)