mirror of
https://github.com/denisidoro/navi
synced 2024-11-22 03:23:05 +00:00
Add version to assets (#276)
This commit is contained in:
parent
131a635867
commit
be4ea8424f
2 changed files with 3 additions and 3 deletions
4
.github/workflows/cd.yml
vendored
4
.github/workflows/cd.yml
vendored
|
@ -38,5 +38,5 @@ jobs:
|
|||
with:
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
file: target/tar/navi.tar.gz
|
||||
asset_name: navi-${{ matrix.target }}.tar.gz
|
||||
tag: ${{ github.ref }}
|
||||
tag: ${{ github.ref }}
|
||||
asset_name: navi-${{ github.ref }}-${{ matrix.target }}.tar.gz
|
|
@ -64,7 +64,7 @@ asset_url() {
|
|||
local -r variant="${2:-}"
|
||||
|
||||
if [[ -n "$variant" ]]; then
|
||||
echo "https://github.com/denisidoro/navi/releases/download/v${version}/navi-${variant}.tar.gz"
|
||||
echo "https://github.com/denisidoro/navi/releases/download/v${version}/navi-v${version}-${variant}.tar.gz"
|
||||
else
|
||||
echo "https://github.com/denisidoro/navi/archive/v${version}.tar.gz"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue