Skip to content

Commit e13c1f0

Browse files
Install gnu-sed on macOS (#282)
1 parent 1eea590 commit e13c1f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,12 @@ jobs:
6161
- name: Commit next development version
6262
if: steps.deploy.outputs.exit_code == 0
6363
run: |
64+
brew install gnu-sed
6465
git config user.email "githubbot@gluonhq.com"
6566
git config user.name "Gluon Bot"
6667
TAG=${GITHUB_REF/refs\/tags\//}
6768
newVersion=${TAG%.*}.$((${TAG##*.} + 1)) # Update version by 1
68-
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
6970
git commit gradle.properties -m "Prepare development of $newVersion"
7071
git push https://gluon-bot:$PAT@github.com/$GITHUB_REPOSITORY HEAD:master
7172
env:

0 commit comments

Comments
 (0)