From 6045b1b4c668642a976513511c1c86d6bb23c6d4 Mon Sep 17 00:00:00 2001 From: "Celina G. Val" Date: Thu, 26 Oct 2023 10:52:35 -0700 Subject: [PATCH] Fix build bundle tag check --- .github/actions/build-bundle/action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/build-bundle/action.yml b/.github/actions/build-bundle/action.yml index 5db3b50e7158..f1079caed11d 100644 --- a/.github/actions/build-bundle/action.yml +++ b/.github/actions/build-bundle/action.yml @@ -30,13 +30,13 @@ runs: - name: Export tag version shell: bash - if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') }} + if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/kani-') }} run: | echo "VERSION=${TAG_VERSION}" >> $GITHUB_ENV - name: Check Version shell: bash - if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') }} + if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/kani-') }} run: | # Validate git tag & Cargo.toml are in sync on version number if [[ ${{ env.CRATE_VERSION }} != ${{ env.TAG_VERSION }} ]]; then @@ -46,7 +46,7 @@ runs: - name: Export latest version shell: bash - if: ${{ !startsWith(github.ref, 'refs/tags/v') }} + if: ${{ !startsWith(github.ref, 'refs/tags/kani-') }} run: | echo "VERSION=latest" >> $GITHUB_ENV