Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
safeer committed Oct 8, 2024
1 parent e22747e commit 4e67c50
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/smoketest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4e67c50

Please sign in to comment.