Skip to content

Commit

Permalink
chore: remove branch ref
Browse files Browse the repository at this point in the history
  • Loading branch information
Shabirmean committed May 10, 2022
1 parent 7e336f4 commit 5b81e4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/cloudbuild/pos-pr-open-for-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ steps:
pip install -r .github/releases/requirements.txt
echo "PR openned on branch [$_HEAD_BRANCH] for pr-$_PR_NUMBER"
if [[ $_HEAD_BRANCH == 'release-minor' ]] || [[ $_HEAD_BRANCH == 'restructure3' ]]; then
if [[ $_HEAD_BRANCH == 'release-minor' ]]; then
echo "Updating versions for a minor release"
python3 .github/releases/releaser.py -t minor
Expand Down Expand Up @@ -127,7 +127,7 @@ steps:
fi
RELEASE_TYPE='patch'
if [[ $_HEAD_BRANCH == 'release-minor' ]] || [[ $_HEAD_BRANCH == 'restructure3' ]]; then
if [[ $_HEAD_BRANCH == 'release-minor' ]]; then
RELEASE_TYPE='minor'
elif [[ $_HEAD_BRANCH == 'release-major' ]]; then
RELEASE_TYPE='major'
Expand Down
2 changes: 1 addition & 1 deletion .github/cloudbuild/pos-publish-release-artifacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ steps:
- -c
- |
pip install -r .github/releases/requirements.txt
if [[ $BRANCH_NAME == 'release-minor' ]] || [[ $BRANCH_NAME == 'restructure3' ]]; then
if [[ $BRANCH_NAME == 'release-minor' ]]; then
python3 .github/releases/releaser.py -t minor -s true
elif [[ $BRANCH_NAME == 'release-patch' ]]; then
Expand Down

0 comments on commit 5b81e4c

Please sign in to comment.