File tree 1 file changed +6
-13
lines changed
1 file changed +6
-13
lines changed Original file line number Diff line number Diff line change @@ -32,17 +32,10 @@ jobs:
32
32
echo "cat version.sbt"
33
33
cat version.sbt
34
34
35
- - name : Create Pull Request
36
- id : cpr
37
- uses : peter-evans/create-pull-request@v7
38
- with :
39
- commit-message : " Update version to ${{ github.event.inputs.release }}"
40
- branch : " release-${{ github.event.inputs.release }}"
41
- base : master
42
- title : " Release ${{ github.event.inputs.release }}"
43
- body : " This PR updates the version to ${{ github.event.inputs.release }}."
44
- - name : Check outputs
45
- if : ${{ steps.cpr.outputs.pull-request-number }}
35
+
36
+ - name : Create release branch and commit changes
46
37
run : |
47
- echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
48
- echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
38
+ git checkout -b release/${{ github.event.inputs.release }}
39
+ git add version.sbt
40
+ git commit -m "Update version to ${{ github.event.inputs.release }}"
41
+ git push origin release/${{ github.event.inputs.release }}
You can’t perform that action at this time.
0 commit comments