diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index 8bc7a7677..c4296a0a7 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -21,14 +21,13 @@ jobs: run: | sudo apt-get install -y gcc-aarch64-linux-gnu make build-all-binaries - tar -czvf build/iris-linux-amd64-${ github.ref }.tar.gz build/iris-linux-amd64 - tar -czvf build/iris-linux-arm64-${ github.ref }.tar.gz build/iris-linux-arm64 + tar -czvf build/iris-linux-amd64-${ GITHUB_REF_NAME }.tar.gz build/iris-linux-amd64 + tar -czvf build/iris-linux-arm64-${ GITHUB_REF_NAME }.tar.gz build/iris-linux-arm64 - name: Publish Release uses: softprops/action-gh-release@v2 - if: startsWith(github.ref, 'refs/tags/') with: body_path: RELEASE.md files: | - build/iris-linux-amd64-${ github.ref }.tar.gz - build/iris-linux-arm64-${ github.ref }.tar.gz \ No newline at end of file + build/iris-linux-amd64-${ GITHUB_REF_NAME }.tar.gz + build/iris-linux-arm64-${ GITHUB_REF_NAME }.tar.gz \ No newline at end of file