We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6496af5 commit 740ed1cCopy full SHA for 740ed1c
1 file changed
.github/workflows/publish.yml
@@ -4,8 +4,12 @@ on:
4
workflow_dispatch:
5
inputs:
6
version:
7
- description: Version
+ description: blst version
8
default: 0.3.15
9
+ snapshot:
10
+ description: snapshot
11
+ type: boolean
12
+ default: true
13
14
jobs:
15
build-native:
@@ -107,5 +111,5 @@ jobs:
107
111
mkdir -p src/main/{resources,java}/supranational/blst
108
112
mv artifacts/*.java src/main/java/supranational/blst
109
113
mv artifacts/* src/main/resources/supranational/blst/
110
- mvn versions:set -DnewVersion=${{ inputs.version }}-SNAPSHOT -DgenerateBackupPoms=false
114
+ mvn versions:set -DnewVersion=${{ inputs.version }}${{ inputs.snapshot == 'true' && '-SNAPSHOT' || '' }} -DgenerateBackupPoms=false
115
mvn -B deploy
0 commit comments