File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -69,16 +69,20 @@ jobs:
6969 distribution : ' temurin'
7070 cache : maven
7171
72- - name : Build all modules first
73- run : mvn clean install -DskipTests
74-
7572 - name : Extract Release Tag
7673 id : extract_tag
7774 run : |
7875 # Extract the release tag from the GitHub context
7976 TAG_NAME=${GITHUB_REF#refs/tags/}
8077 echo "TAG_NAME=${TAG_NAME}" >> $GITHUB_ENV
8178
79+ # Set the project version from the release tag
80+ - name : Set project version from tag
81+ run : mvn --batch-mode versions:set -DnewVersion=${{ env.TAG_NAME }} -DgenerateBackupPoms=false
82+
83+ - name : Build all modules first
84+ run : mvn clean install -DskipTests
85+
8286 # Build the project
8387 # For registry modules, we activate the dockerbuild profile and specify the module with --pl
8488 - name : Build BaSyx
You can’t perform that action at this time.
0 commit comments