aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2024-10-30 11:59:41 -0500
committerMatt Strapp <matt@mattstrapp.net>2024-10-30 11:59:41 -0500
commitb8c76aaaceba5084319f5fb11f816e1b5ba0f0e9 (patch)
treeb3b1bfd74c8d935e1613e9cf62af70315043a029
parentci: only run on vX.Y.Z tags (diff)
downloadlocusts-b8c76aaaceba5084319f5fb11f816e1b5ba0f0e9.tar
locusts-b8c76aaaceba5084319f5fb11f816e1b5ba0f0e9.tar.gz
locusts-b8c76aaaceba5084319f5fb11f816e1b5ba0f0e9.tar.bz2
locusts-b8c76aaaceba5084319f5fb11f816e1b5ba0f0e9.tar.lz
locusts-b8c76aaaceba5084319f5fb11f816e1b5ba0f0e9.tar.xz
locusts-b8c76aaaceba5084319f5fb11f816e1b5ba0f0e9.tar.zst
locusts-b8c76aaaceba5084319f5fb11f816e1b5ba0f0e9.zip
jvm: Auto snapshot
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
-rw-r--r--.github/workflows/jvm.yml2
-rw-r--r--gradle.properties2
2 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/jvm.yml b/.github/workflows/jvm.yml
index 9fb4746..f3f9db7 100644
--- a/.github/workflows/jvm.yml
+++ b/.github/workflows/jvm.yml
@@ -59,6 +59,8 @@ jobs:
cache: 'gradle'
distribution: 'adopt'
java-version: '11'
+ - name: Snapshot version
+ run: sed '/^version/ s/$/-SNAPSHOT/' gradle.properties -i
- name: Build with Gradle
run: ./gradlew build
- name: Publish the preview package
diff --git a/gradle.properties b/gradle.properties
index e58965d..5e07ecd 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -4,4 +4,4 @@
org.gradle.parallel=true
org.gradle.caching=true
-version=0.0.0-SNAPSHOT \ No newline at end of file
+version=0.0.0 \ No newline at end of file