Skip to content

Commit 6168be3

Browse files
Heiko KieselZero3141
authored andcommitted
Print release version
Signed-off-by: Heiko Kiesel <heiko.kiesel@iteratec.com>
1 parent 8a69e6d commit 6168be3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,12 @@ jobs:
4646
git config user.email 'github-actions[bot]@users.noreply.github.com'
4747
./gradlew release
4848
49+
- name: Show post-release version
50+
run: ./gradlew currentVersion
51+
4952
# The previous "Release new version" step increases the version. We need this version for the publishing job. The
5053
# currentVersion command gets this value, which we store in the "version" variable for following jobs.
51-
- name: Get current version
54+
- name: Store version
5255
id: version
5356
run: echo "VERSION=$(./gradlew -q -Prelease.quiet currentVersion)" >> "$GITHUB_OUTPUT"
5457

0 commit comments

Comments
 (0)