Skip to content

Commit

Permalink
update bumpver
Browse files Browse the repository at this point in the history
  • Loading branch information
cqbanh authored Jun 14, 2024
1 parent 5cac3d3 commit 7c9b226
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,12 @@ jobs:
- name: Bump rc version
if: startsWith(github.ref, 'refs/heads/release/') && github.event_name != 'workflow_dispatch' && github.event_name != 'pull_request'
run: |
bumpver update --patch --tag rc --tag-num
bumpver update -f -n --tag rc --tag-num
echo "TARGET_ENV=UAT" >> $GITHUB_ENV
- name: Release version
if: github.ref == 'refs/heads/main' && github.event_name != 'workflow_dispatch' && github.event_name != 'pull_request'
run: |
bumpver update --patch --tag final
bumpver update -f --tag final
echo "TARGET_ENV=OPS" >> $GITHUB_ENV
- name: Set the target environment to ${{ env.TARGET_ENV }}
id: set-env
Expand Down

0 comments on commit 7c9b226

Please sign in to comment.