File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 90
90
NEW_VERSION="${VERSION_NUM[0]}.${VERSION_NUM[1]}.${VERSION_NUM[2]}-SNAPSHOT"
91
91
awk -v new_version="$NEW_VERSION" '/projectVersion=/{sub(/=.*/, "=" new_version)}1' gradle.properties > tmpfile && mv tmpfile gradle.properties
92
92
echo "Set $NEW_VERSION in gradle.properties"
93
+ git checkout -b $NEW_VERSION
93
94
git commit -sam "chore(skip-release): set version to $NEW_VERSION"
94
- gh pr create -B main --title 'chore(skip-release): set version to $NEW_VERSION' --body 'Created by Github action'
95
+ git push -u origin $NEW_VERSION
96
+ gh pr create -B main -H $NEW_VERSION --title 'chore(skip-release): set version to $NEW_VERSION' --body 'Created by Github action'
95
97
96
98
- name : Simple conventional changelog
97
99
uses : lstocchi/simple-conventional-changelog@13071c09073f5deddf03d44d9af6a8b0f81ef227 # 0.0.11
You can’t perform that action at this time.
0 commit comments