Skip to content

Commit 9291bdb

Browse files
committed
fix: fix support cargo-binstall
1 parent 3e95497 commit 9291bdb

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ jobs:
6868
- uses: taiki-e/upload-rust-binary-action@v1
6969
with:
7070
bin: git-semver-tags
71-
# The tag name contains the binary name so just use that.
72-
archive: $tag-$target
71+
archive: $bin-$tag-$target
7372
target: ${{ matrix.target }}
7473
tar: all
7574
zip: windows

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ all-features = true
3636
rustdoc-args = ["--cfg", "docsrs"]
3737

3838
[package.metadata.binstall]
39-
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }-v{ version }{ archive-suffix }"
39+
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-v{ version }-{ target }{ archive-suffix }"
4040
bin-dir = "{ bin }{ binary-ext }"
4141
pkg-fmt = "tgz"

0 commit comments

Comments
 (0)