Skip to content

Commit

Permalink
ci: update release job
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentdelmundo authored Feb 9, 2022
1 parent 0e842d6 commit 72f2a9e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bitrise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,10 @@ workflows:
echo "This is a PR from a forked repo, will be creating temp branch with current hash:"
git log --pretty=format:'%h%n' -n 1
git switch -C $BITRISE_GIT_BRANCH
elif [[ ! $BITRISE_GIT_TAG == *"-"* ]]; then
echo "This is a release step, just making sure we are at master"
git fetch --no-tags origin master
git switch master
else
echo "This is a PR from the repo, just making sure we are at the right branch"
git fetch --no-tags origin $BITRISE_GIT_BRANCH
Expand Down

0 comments on commit 72f2a9e

Please sign in to comment.