From 07ade5a79eddb550109e9bbf8c80ebba431010d2 Mon Sep 17 00:00:00 2001 From: Bruno Calza Date: Mon, 21 Aug 2023 14:32:17 -0300 Subject: [PATCH] Update binaries.yml Signed-off-by: Bruno Calza --- .github/workflows/binaries.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/binaries.yml b/.github/workflows/binaries.yml index ccb92581..e478d2ef 100644 --- a/.github/workflows/binaries.yml +++ b/.github/workflows/binaries.yml @@ -46,14 +46,14 @@ jobs: with: file: ./cmd/api/Dockerfile push: true - tags: textile/tableland:latest,textile/tableland:${{ github.ref_name }} + tags: textile/tableland:latest,textile/tableland:${{ github.event.release.tag_name }} platforms: linux/amd64, linux/arm64 js-release: runs-on: ubuntu-latest if: ${{ success() }} needs: [binaries] steps: - - run: echo "validator_version ${{ github.ref_name }}" + - run: echo 'validator_version ${{ github.event.release.tag_name }}' - name: PR to publish this release via the npm package uses: actions/github-script@v6 @@ -68,7 +68,7 @@ jobs: // if the tag/release has a preceeding "v" we want to remove // it and match standard symantics in the js ecosystem - let version = '${{ github.ref_name }}'; + let version = '${{ github.event.release.tag_name }}'; if (/^v[0-9]/.test(version)) { version = version.slice(1); }