Skip to content

Commit e26dc9c

Browse files
committed
ops: include build arch in file name of released binary
Signed-off-by: Gaoyang Zhang <gy@blurgy.xyz>
1 parent 4990c6f commit e26dc9c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- name: Strip debug symbols
5050
run: |
5151
strip target/release/dt-cli
52-
mv target/release/dt-cli dt-cli-$(git describe HEAD)
52+
mv target/release/dt-cli dt-cli-$(git describe HEAD)-$(uname -m)
5353
- name: Create release with compiled binary
5454
uses: softprops/action-gh-release@v1
5555
env:
@@ -61,7 +61,7 @@ jobs:
6161
name: Release ${{ steps.get_tag_name.outputs.tag_name }}
6262
body: ${{ steps.changelog.outputs.release_body }}
6363
files: |
64-
dt-cli-v*.*.*
64+
dt-cli-v*.*.*-*
6565
LICENSE-APACHE
6666
LICENSE-MIT
6767

0 commit comments

Comments
 (0)