fix binstall

This commit is contained in:
Jonathan Kelley 2024-03-27 00:37:58 -07:00
parent 3f127f5fcb
commit 08944223be
No known key found for this signature in database
GPG key ID: 1FBB50F7EB0A08BE
2 changed files with 2 additions and 2 deletions

View file

@ -88,7 +88,7 @@ jobs:
bin: dx
token: ${{ secrets.GITHUB_TOKEN }}
target: ${{ matrix.platform.target }}
archive: dx-${{ matrix.platform.target }}${{ env.RELEASE_TAG }}
archive: $bin-$target-${{ env.RELEASE_TAG }}
checksum: sha256
manifest_path: packages/cli/Cargo.toml
ref: refs/tags/${{ env.RELEASE_TAG }}

View file

@ -114,7 +114,7 @@ name = "dx"
tempfile = "3.3"
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/dx-{ target }{ archive-suffix }"
pkg-url = "{ repo }/releases/download/v{ version }/dx-{ target }-{ archive-suffix }"
[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-fmt = "zip"