Skip to content

Commit f1721de

Browse files
committed
Merge branch 'version/1.21' into version/1.21.7
2 parents 1b3c23e + ad090a0 commit f1721de

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ jobs:
5656
VERSION=$(./gradlew properties --no-daemon \
5757
| grep '^version:' \
5858
| awk '{print $2}')
59+
SNAPSHOT_FLAG=$(./gradlew properties --no-daemon \
60+
| grep '^snapshot:' \
61+
| awk '{print $2}')
62+
if [ "$SNAPSHOT_FLAG" = "true" ]; then
63+
VERSION="${VERSION}-SNAPSHOT"
64+
fi
5965
echo "VERSION=$VERSION" >> $GITHUB_ENV
6066
6167
- name: Find and filter JAR files

0 commit comments

Comments
 (0)