diff --git a/.github/workflows/mvn.yml b/.github/workflows/mvn.yml
index f5cf0b8a..108587bc 100644
--- a/.github/workflows/mvn.yml
+++ b/.github/workflows/mvn.yml
@@ -98,8 +98,12 @@ jobs:
cd spigotmc
curl https://hub.spigotmc.org/jenkins/job/BuildTools/lastStableBuild/artifact/target/BuildTools.jar -o BuildTools.jar
java -jar BuildTools.jar --rev 1.12.2
+ - name: Set Version
+ run: mvn versions:set -DnewVersion=$SEMVER
+ env:
+ SEMVER: ${{ needs.calculate-version.outputs.semVer }}
- name: Build with Maven
- run: mvn -B deploy --file pom.xml -Drevision=$SEMVER
+ run: mvn -B deploy
env:
GITHUB_TOKEN: ${{ github.token }}
SEMVER: ${{ needs.calculate-version.outputs.semVer }}
diff --git a/pom.xml b/pom.xml
index 8dc9a3a5..dced653f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,14 +4,13 @@
4.0.0
no.runsafe
framework
- ${revision}
+ 1.12-SNAPSHOT
no.runsafe.api
https://minecraft.runsafe.no
UTF-8
1.8
1.8
- 1.12-SNAPSHOT