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.
1 parent 8a69e6d commit 6168be3Copy full SHA for 6168be3
.github/workflows/release.yml
@@ -46,9 +46,12 @@ jobs:
46
git config user.email 'github-actions[bot]@users.noreply.github.com'
47
./gradlew release
48
49
+ - name: Show post-release version
50
+ run: ./gradlew currentVersion
51
+
52
# The previous "Release new version" step increases the version. We need this version for the publishing job. The
53
# currentVersion command gets this value, which we store in the "version" variable for following jobs.
- - name: Get current version
54
+ - name: Store version
55
id: version
56
run: echo "VERSION=$(./gradlew -q -Prelease.quiet currentVersion)" >> "$GITHUB_OUTPUT"
57
0 commit comments