Skip to content

Commit

Permalink
Merge pull request #9639 from Expensify/Rory-UniqueBranchName
Browse files Browse the repository at this point in the history
  • Loading branch information
sketchydroide authored Jun 30, 2022
2 parents 24ce9f6 + c97520e commit 3d6b958
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/createNewVersion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,10 @@ jobs:
- name: Create new branch
run: |
git checkout -b version-${{ github.event.inputs.SEMVER_LEVEL }}-${{ github.sha }}
git push --set-upstream origin version-${{ github.event.inputs.SEMVER_LEVEL }}-${{ github.sha }}
echo "VERSION_BRANCH=version-${{ github.event.inputs.SEMVER_LEVEL }}-${{ github.sha }}" >> "$GITHUB_ENV"
BRANCH_NAME="version-${{ github.event.inputs.SEMVER_LEVEL }}-$(uuidgen)"
git checkout -b "$BRANCH_NAME"
git push --set-upstream origin "$BRANCH_NAME"
echo "VERSION_BRANCH=$BRANCH_NAME" >> "$GITHUB_ENV"
- name: Generate version
id: bumpVersion
Expand Down

0 comments on commit 3d6b958

Please sign in to comment.