Skip to content

Commit 1fdba25

Browse files
committed
[Feat] update bin name
1 parent 511716f commit 1fdba25

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/upload.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ jobs:
3535
- name: Build and upload binaries
3636
uses: taiki-e/upload-rust-binary-action@v1
3737
with:
38-
bin: codesnap-cli
38+
bin: codesnap
3939
include: LICENSE,README.md
4040
target: ${{ matrix.target }}
4141
tar: unix
4242
zip: windows
4343
token: ${{ secrets.PAT }}
44-
archive: $bin_$tag_$target
44+
archive: $bin-cli_$tag_$target
4545

4646
release-formula:
4747
needs: upload-assets

cli/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,6 @@ indicatif = "0.17.9"
2020
rand = "0.8.5"
2121
serde = "1.0.217"
2222
serde_json = "1.0.132"
23+
24+
[package.metadata.binstall]
25+
pkg-fmt = "tar.gz"

0 commit comments

Comments
 (0)