File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -65,10 +65,16 @@ 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
6874 - uses : taiki-e/upload-rust-binary-action@v1
6975 with :
7076 bin : git-semver-tags
71- archive : $bin-$tag-$target
77+ archive : $bin-${{steps. tag.outputs.tag}} -$target
7278 target : ${{ matrix.target }}
7379 tar : all
7480 zip : windows
Original file line number Diff line number Diff line change @@ -36,6 +36,6 @@ all-features = true
3636rustdoc-args = [" --cfg" , " docsrs" ]
3737
3838[package .metadata .binstall ]
39- pkg-url = " { repo }/releases/download/v{ version }/{ name }-v { version }-{ target }{ archive-suffix } "
39+ pkg-url = " { repo }/releases/download/v{ version }/{ name }-{ version }-{ target }.tar.gz "
4040bin-dir = " { bin }{ binary-ext }"
4141pkg-fmt = " tgz"
You can’t perform that action at this time.
0 commit comments