diff --git a/.github/workflows/smoketest.yml b/.github/workflows/smoketest.yml index 252b40654d..a5bcf145b6 100644 --- a/.github/workflows/smoketest.yml +++ b/.github/workflows/smoketest.yml @@ -21,19 +21,19 @@ jobs: run: | latest_release=$(git tag --sort=-v:refname | grep -v v1 | head -n 1) echo "Latest release: $latest_release" - echo "LATEST_RELEASE=$latest_release" >> "$GITHUB_ENV" + echo "LATEST_VERSION=${latest_release#v}" >> "$GITHUB_ENV" - name: Check out the last tagged release uses: actions/checkout@v4 with: - ref: ${{ env.LATEST_RELEASE }} + ref: v${{ env.LATEST_VERSION }} fetch-depth: 1 fetch-tags: true - name: Download the release images uses: dsaltares/fetch-gh-release-asset@master with: repo: TBD54566975/ftl.git - version: tags/${{ env.LATEST_RELEASE }} - file: ftl-${{ env.LATEST_RELEASE:1 }}.linux-arm64.tar.gz + version: tags/v${{ env.LATEST_VERSION }} + file: ftl-${{ env.LATEST_VERSION }}.linux-arm64.tar.gz token: ${{ secrets.GITHUB_TOKEN }} target: last-release.linux-arm64.tar.gz - name: Replace deployment with release images