File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ jobs:
148148 if [ -n "$VERSION_INPUT" ]; then
149149 RELEASE_VERSION="$VERSION_INPUT"
150150 else
151- RELEASE_VERSION=$(grep -E 'version\s* =' gradle.properties | sed -E 's/.*\"(.+)-SNAPSHOT\".*/\1 /')
151+ RELEASE_VERSION=$(grep -E 'version=' gradle.properties | sed -E 's/version=/ /')
152152 fi
153153 echo "RELEASE_VERSION=$RELEASE_VERSION" >> $GITHUB_ENV
154154
@@ -206,7 +206,7 @@ jobs:
206206 uses : softprops/action-gh-release@v1
207207 with :
208208 tag_name : " v${{ env.RELEASE_VERSION }}"
209- release_name : " ${{ env.RELEASE_VERSION }}"
209+ name : " ${{ env.RELEASE_VERSION }}"
210210 body_path : CHANGELOG.md # assumes changelog contains latest release notes at top
211211 env :
212212 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
@@ -215,7 +215,7 @@ jobs:
215215 if : ${{ github.event_name != 'workflow_dispatch' }}
216216 run : |
217217 # Bump minor version (for example) and append -SNAPSHOT for continued development
218- NEXT_VERSION=$(echo $RELEASE_VERSION | awk -F. '{$NF += 1; OFS="." ; print $0}') # increment last segment
218+ NEXT_VERSION=$(echo $RELEASE_VERSION | awk -F. -v OFS="." '{$NF += 1; print $0}') # increment last segment
219219 NEXT_VERSION="$NEXT_VERSION-SNAPSHOT"
220220 sed -i -E "s/$RELEASE_VERSION/$NEXT_VERSION/" gradle.properties || true
221221 git config user.name "github-actions"
Original file line number Diff line number Diff line change 44# Blocked on https://github.com/nbaztec/coveralls-jacoco-gradle-plugin/issues/66
55org.gradle.configuration-cache =false
66
7+ # No spaces on the following line, needed by release.tml
78version =4.1.3-SNAPSHOT
89
You can’t perform that action at this time.
0 commit comments