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.
gnu-sed
1 parent 1eea590 commit e13c1f0Copy full SHA for e13c1f0
.github/workflows/release.yml
@@ -61,11 +61,12 @@ jobs:
61
- name: Commit next development version
62
if: steps.deploy.outputs.exit_code == 0
63
run: |
64
+ brew install gnu-sed
65
git config user.email "githubbot@gluonhq.com"
66
git config user.name "Gluon Bot"
67
TAG=${GITHUB_REF/refs\/tags\//}
68
newVersion=${TAG%.*}.$((${TAG##*.} + 1)) # Update version by 1
- sed -i -z "0,/version = $TAG/s//version = $newVersion-SNAPSHOT/" gradle.properties
69
+ gsed -i -z "0,/version = $TAG/s//version = $newVersion-SNAPSHOT/" gradle.properties
70
git commit gradle.properties -m "Prepare development of $newVersion"
71
git push https://gluon-bot:$PAT@github.com/$GITHUB_REPOSITORY HEAD:master
72
env:
0 commit comments