Skip to content

Commit 95910d9

Browse files
authored
chore(skip-release): Update release.yml
Signed-off-by: Stephane Bouchet <[email protected]>
1 parent 6d02f8b commit 95910d9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/release.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,10 @@ jobs:
8888
IFS="." read -ra VERSION_NUM <<< "${VERSION_PARTS[0]}"
8989
((VERSION_NUM[2]+=1))
9090
NEW_VERSION="${VERSION_NUM[0]}.${VERSION_NUM[1]}.${VERSION_NUM[2]}-SNAPSHOT"
91-
echo "new_version $NEW_VERSION"
9291
awk -v new_version="$NEW_VERSION" '/projectVersion=/{sub(/=.*/, "=" new_version)}1' gradle.properties > tmpfile && mv tmpfile gradle.properties
9392
echo "Set $NEW_VERSION in gradle.properties"
9493
git commit -sam "chore(skip-release): set version to $NEW_VERSION"
95-
git push origin $NEW_VERSION
94+
gh pr create -B main --title 'chore(skip-release): set version to $NEW_VERSION' --body 'Created by Github action'
9695
9796
- name: Simple conventional changelog
9897
uses: lstocchi/simple-conventional-changelog@13071c09073f5deddf03d44d9af6a8b0f81ef227 #0.0.11

0 commit comments

Comments
 (0)