Skip to content

Commit 2b15fb4

Browse files
authored
Add release version to gh-pages publis
1 parent 7dc1d91 commit 2b15fb4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/publish_release_branch.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,12 @@ jobs:
6464
- uses: actions/checkout@v4
6565
with:
6666
fetch-depth: 0
67-
67+
68+
- name: Set Release Version
69+
id: release
70+
run: |
71+
echo "version=$(mvn -B help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_OUTPUT
72+
6873
- uses: actions/download-artifact@v4
6974
with:
7075
name: maven-release-target-directory

0 commit comments

Comments
 (0)