Skip to content

Commit 7853726

Browse files
Cheticclaude
andcommitted
feat: include version in release asset filename
Asset will now be named e.g. opencode-offline-v4-linux-x64.tar.gz Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 6996935 commit 7853726

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/offline-bundle.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ jobs:
6767
GH_TOKEN: ${{ github.token }}
6868
run: |
6969
TAG="${{ steps.version.outputs.tag }}"
70-
ASSET="dist/opencode-offline-linux-x64.tar.gz"
70+
ASSET="dist/opencode-${{ steps.version.outputs.tag }}-linux-x64.tar.gz"
71+
mv dist/opencode-offline-linux-x64.tar.gz "$ASSET"
7172
if gh release view "$TAG" &>/dev/null; then
7273
gh release upload "$TAG" "$ASSET" --clobber
7374
else

0 commit comments

Comments
 (0)