From 2b15fb4b74dafdbf0d35ebf14f18d919d6aeaabd Mon Sep 17 00:00:00 2001 From: Liam Newman Date: Wed, 20 Mar 2024 16:59:49 -0700 Subject: [PATCH] Add release version to gh-pages publis --- .github/workflows/publish_release_branch.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish_release_branch.yml b/.github/workflows/publish_release_branch.yml index f7a8d47fe8..897878363e 100644 --- a/.github/workflows/publish_release_branch.yml +++ b/.github/workflows/publish_release_branch.yml @@ -64,7 +64,12 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - + + - name: Set Release Version + id: release + run: | + echo "version=$(mvn -B help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_OUTPUT + - uses: actions/download-artifact@v4 with: name: maven-release-target-directory