From b8c76aaaceba5084319f5fb11f816e1b5ba0f0e9 Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Wed, 30 Oct 2024 11:59:41 -0500 Subject: jvm: Auto snapshot Signed-off-by: Matt Strapp --- .github/workflows/jvm.yml | 2 ++ gradle.properties | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3