Skip to content

Commit

Permalink
Fix build bundle tag check
Browse files Browse the repository at this point in the history
  • Loading branch information
celinval committed Oct 26, 2023
1 parent ee4652d commit 6045b1b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/build-bundle/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 6045b1b

Please sign in to comment.