Fix revision

This commit is contained in:
Andrea Cavalli 2023-05-10 17:14:15 +02:00
parent 82b8abd828
commit 84aa32cac3

View File

@ -34,6 +34,7 @@ jobs:
export REVISION=${{ steps.branch_name.outputs.SOURCE_TAG_VERSION }}
echo "REVISION=$REVISION" >> $GITHUB_ENV
cat $GITHUB_ENV >> github.env
- name: Set up JDK 17 (Snapshot)
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
uses: actions/setup-java@v3
@ -71,7 +72,7 @@ jobs:
set -xeo pipefail
echo "REVISION: $REVISION"
mvn -B clean -Drevision="${REVISION}" deploy
mvn -B clean -Drevision="$REVISION" deploy
echo "Done."
env:
MAVEN_USERNAME: ${{ secrets.MCHV_USERNAME }}