File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 3333 with :
3434 ref : ${{ github.head_ref || github.ref_name }}
3535
36+ - name : Prepare the release branch
37+ run : |
38+ VERSION=$(grep "ThisBuild / version" version.sbt | cut -d\" -f2 | sed 's/-SNAPSHOT//')
39+ git config --global user.email "[email protected] " 40+ git config --global user.name "CI/CD bot"
41+ git checkout -b release/$VERSION
42+ git push --set-upstream origin release/$VERSION
43+
3644 - name : Setup JDK and sbt
3745 uses : actions/setup-java@v4
3846 with :
5462 - name : Checkout the release branch
5563 run : |
5664 VERSION=$(grep "ThisBuild / version" version.sbt | cut -d\" -f2 | sed 's/-SNAPSHOT//')
57- echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
58- git config --global user.email "[email protected] " 59- git config --global user.name "CI/CD bot"
6065 git fetch origin release/$VERSION
6166 git checkout release/$VERSION
6267
You can’t perform that action at this time.
0 commit comments