Skip to content

Commit

Permalink
Fix IS_RELEASE in Set Version and Environment Profile composite action
Browse files Browse the repository at this point in the history
  • Loading branch information
ivangabriele committed Jul 18, 2024

Verified

This commit was signed with the committer’s verified signature.
brlin-tw 林博仁 Buo-ren Lin
1 parent 2c8db35 commit edd4355
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -22,8 +22,8 @@ runs:
echo "ENV_PROFILE=dev" >> $GITHUB_ENV
echo "IS_RELEASE=false" >> $GITHUB_ENV
- name: "Set IS_RELEASE as true if we are on master branch"
if: github.ref == 'refs/heads/master'
- name: "Set IS_RELEASE as true if we are on master branch or if it's a tag or branch starting with 'v1' or 'v2'"
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v1') || startsWith(github.ref, 'refs/heads/v1') || startsWith(github.ref, 'refs/tags/v2') || startsWith(github.ref, 'refs/heads/v2')
shell: bash
run: echo "IS_RELEASE=true" >> $GITHUB_ENV

0 comments on commit edd4355

Please sign in to comment.