From e7144c9be48fd5e26004e986d87b4df275538cf7 Mon Sep 17 00:00:00 2001 From: SamuelOliveira Date: Mon, 25 Mar 2024 22:16:18 -0300 Subject: [PATCH] Ajustes Actions --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 17aee22..16e02cb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,8 +41,8 @@ jobs: - name: Set Release version env variable run: | - echo "RELEASE_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV - IFS='.' read -ra VER <<< "${{ env.RELEASE_VERSION }}" + echo "X_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV + IFS='.' read -ra VER <<< "${{ env.X_VERSION }}" MAJOR=${VER[0]} MINOR=${VER[1]} let "PREV_MINOR=MINOR-1" @@ -52,7 +52,7 @@ jobs: - name: Criando executavel run: | mvn versions:set -DnewVersion=${{ env.RELEASE_VERSION }} - mvn mvn clean compile assembly:single --file pom.xml + mvn clean compile assembly:single --file pom.xml - name: Criando pasta para External Jar run: |