We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2396848 commit 6df6d5dCopy full SHA for 6df6d5d
1 file changed
.github/workflows/ci.yml
@@ -122,6 +122,14 @@ jobs:
122
echo "Native libraries organized:"
123
find java/src/main/resources/native -type f
124
125
+ - name: Set version from tag
126
+ if: startsWith(github.ref, 'refs/tags/v')
127
+ working-directory: java
128
+ run: |
129
+ VERSION=${GITHUB_REF#refs/tags/v}
130
+ echo "Setting version to $VERSION"
131
+ mvn -B versions:set -DnewVersion="$VERSION"
132
+
133
- name: Build fat JAR (skip native build, skip tests)
134
working-directory: java
135
run: mvn -B package -DskipTests -Dexec.skip=true
0 commit comments