Skip to content

Commit

Permalink
Make git pull first
Browse files Browse the repository at this point in the history
  • Loading branch information
roryabraham committed Aug 30, 2022
1 parent ba718e5 commit bcf1c1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/createNewVersion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ jobs:

- name: Create new branch
run: |
BRANCH_NAME="version-${{ inputs.SEMVER_LEVEL }}-$(uuidgen)"
git pull
BRANCH_NAME="version-${{ inputs.SEMVER_LEVEL }}-$(uuidgen)"
git checkout -b "$BRANCH_NAME"
git push --set-upstream origin "$BRANCH_NAME"
echo "VERSION_BRANCH=$BRANCH_NAME" >> "$GITHUB_ENV"
Expand Down

0 comments on commit bcf1c1a

Please sign in to comment.