From 9708fec0e099b96314b399e72b7ecb837f1ce46d Mon Sep 17 00:00:00 2001 From: Karl Tauber Date: Mon, 6 Dec 2021 17:27:49 +0100 Subject: [PATCH] GitHub Actions: produce snapshots only on `develop-*` branches; change version to 1.6.5-SNAPSHOT --- .github/workflows/ci.yml | 2 +- build.gradle.kts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 60a2ce19b..1f2e6e130 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -73,7 +73,7 @@ jobs: needs: build if: | github.event_name == 'push' && - github.ref == 'refs/heads/main' && + (github.ref == 'refs/heads/main' || startsWith( github.ref, 'refs/heads/develop-' )) && github.repository == 'JFormDesigner/FlatLaf' steps: diff --git a/build.gradle.kts b/build.gradle.kts index 5857ac40b..b4d3c2b7a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -15,7 +15,7 @@ */ val releaseVersion = "1.6.4" -val developmentVersion = "2.0-SNAPSHOT" +val developmentVersion = "1.6.5-SNAPSHOT" version = if( java.lang.Boolean.getBoolean( "release" ) ) releaseVersion else developmentVersion