Skip to content

Commit 9153b46

Browse files
dbfxclaude
andcommitted
fix: latest.yml filename mismatch breaking auto-updater
GitHub replaces spaces with dots in release asset filenames, but latest.yml was referencing the local filename (with spaces). The updater couldn't find the exe to download. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 372831e commit 9153b46

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,16 @@ jobs:
3636
SHA512=$(sha512sum "$SETUP_EXE" | awk '{print $1}')
3737
SIZE=$(stat -c%s "$SETUP_EXE")
3838
39+
# GitHub replaces spaces with dots in release asset names
40+
ASSET_NAME="${SETUP_NAME// /.}"
41+
3942
cat > out/make/latest.yml << EOF
4043
version: ${VERSION}
4144
files:
42-
- url: ${SETUP_NAME}
45+
- url: ${ASSET_NAME}
4346
sha512: ${SHA512}
4447
size: ${SIZE}
45-
path: ${SETUP_NAME}
48+
path: ${ASSET_NAME}
4649
sha512: ${SHA512}
4750
releaseDate: $(date -u +"%Y-%m-%dT%H:%M:%S.000Z")
4851
EOF

0 commit comments

Comments
 (0)