We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79b5b57 commit c8d999dCopy full SHA for c8d999d
.github/workflows/update-versions-next-dev-iteration.yaml
@@ -37,6 +37,12 @@ jobs:
37
echo "Next stable version: ${{ env.NEXT_STABLE_VERSION }}"
38
echo "Next beta version: ${{ env.NEXT_BETA_VERSION }}"
39
40
+ - name: Create and switch to new branch
41
+ run: |
42
+ BRANCH_NAME=update-versions-${{ env.NEXT_STABLE_VERSION }}
43
+ echo "branchName=$BRANCH_NAME" >> $GITHUB_ENV
44
+ git checkout -b "$BRANCH_NAME"
45
+
46
- name: Extract current stable version property
47
id: extract-current-stable
48
run: |
@@ -84,4 +90,4 @@ jobs:
84
90
85
91
git add .
86
92
git commit -m "Update versions to ${{ env.NEXT_STABLE_VERSION }} and ${{ env.NEXT_BETA_VERSION }}"
87
- git push origin main
93
+ git push origin "$branchName"
0 commit comments