diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 7ee639f..3157fdc 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -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 }} \ No newline at end of file + tag: ${{ github.ref }} + asset_name: navi-${{ github.ref }}-${{ matrix.target }}.tar.gz \ No newline at end of file diff --git a/scripts/install b/scripts/install index 9a677d8..63217a3 100755 --- a/scripts/install +++ b/scripts/install @@ -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