-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing the version bump conditional statements (#4024)
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,7 +60,7 @@ jobs: | |
pip install --upgrade pip | ||
- name: Create PR branch | ||
if: ${{ steps.variables.outputs.IS_DRY_RUN }} | ||
if: ${{ steps.variables.outputs.IS_DRY_RUN == 'true' }} | ||
run: | | ||
git checkout -b bumping-version/${{steps.variables.outputs.VERSION_NUMBER}}_$GITHUB_RUN_ID | ||
git push origin bumping-version/${{steps.variables.outputs.VERSION_NUMBER}}_$GITHUB_RUN_ID | ||
|
@@ -82,15 +82,15 @@ jobs: | |
- name: Commit version bump directly | ||
uses: EndBug/add-and-commit@v7 | ||
if: ${{ !steps.variables.outputs.IS_DRY_RUN }} | ||
if: ${{ steps.variables.outputs.IS_DRY_RUN == 'false' }} | ||
with: | ||
author_name: 'Github Build Bot' | ||
author_email: '[email protected]' | ||
message: 'Bumping version to ${{steps.variables.outputs.VERSION_NUMBER}}' | ||
|
||
- name: Commit version bump to branch | ||
uses: EndBug/add-and-commit@v7 | ||
if: ${{ steps.variables.outputs.IS_DRY_RUN }} | ||
if: ${{ steps.variables.outputs.IS_DRY_RUN == 'true' }} | ||
with: | ||
author_name: 'Github Build Bot' | ||
author_email: '[email protected]' | ||
|
@@ -100,7 +100,7 @@ jobs: | |
|
||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v3 | ||
if: ${{ steps.variables.outputs.IS_DRY_RUN }} | ||
if: ${{ steps.variables.outputs.IS_DRY_RUN == 'true' }} | ||
with: | ||
author: 'Github Build Bot <[email protected]>' | ||
draft: true | ||
|