We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f10202b commit e75f7bcCopy full SHA for e75f7bc
2 files changed
.github/workflows/release.yml
@@ -27,6 +27,12 @@ jobs:
27
restore-keys: |
28
${{ runner.os }}-maven-
29
30
+ # Set version from tag
31
+ - name: Set version from tag
32
+ run: |
33
+ TAG_VERSION=${GITHUB_REF#refs/tags/v}
34
+ mvn versions:set -DnewVersion=${TAG_VERSION} -DgenerateBackupPoms=false
35
+
36
# Run Maven to package the project
37
- name: Build with Maven
38
run: mvn clean package -DskipTests
pom.xml
@@ -190,6 +190,11 @@
190
<connectionUrl>scm:git:git@github.com:testingbot/testingbot-tunnel.git</connectionUrl>
191
</configuration>
192
</plugin>
193
+ <plugin>
194
+ <groupId>org.codehaus.mojo</groupId>
195
+ <artifactId>versions-maven-plugin</artifactId>
196
+ <version>2.16.2</version>
197
+ </plugin>
198
</plugins>
199
</build>
200
<dependencies>
0 commit comments