File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -65,16 +65,11 @@ jobs:
6565 with :
6666 persist-credentials : false
6767 - uses : dtolnay/rust-toolchain@stable
68- - name : Get tag
69- id : tag
70- 71- with :
72- # Optionally strip `v` prefix
73- strip_v : true
7468 - uses : taiki-e/upload-rust-binary-action@v1
7569 with :
7670 bin : git-semver-tags
77- archive : $bin-${{steps.tag.outputs.tag}}-$target
71+ # The tag name contains the binary name so just use that.
72+ archive : $tag-$target
7873 target : ${{ matrix.target }}
7974 tar : all
8075 zip : windows
Original file line number Diff line number Diff line change @@ -34,3 +34,8 @@ assert_fs = "1.0.7"
3434[package .metadata .docs .rs ]
3535all-features = true
3636rustdoc-args = [" --cfg" , " docsrs" ]
37+
38+ [package .metadata .binstall ]
39+ pkg-url = " { repo }/releases/download/v{ version }/{ name }-{ target }-v{ version }{ archive-suffix }"
40+ bin-dir = " { bin }{ binary-ext }"
41+ pkg-fmt = " tgz"
You can’t perform that action at this time.
0 commit comments