GitHub Actions: produce snapshots only on develop-* branches; change version to 1.6.5-SNAPSHOT

This commit is contained in:
Karl Tauber
2021-12-06 17:27:49 +01:00
parent 7f4efaf0a3
commit 9708fec0e0
2 changed files with 2 additions and 2 deletions

View File

@@ -73,7 +73,7 @@ jobs:
needs: build needs: build
if: | if: |
github.event_name == 'push' && github.event_name == 'push' &&
github.ref == 'refs/heads/main' && (github.ref == 'refs/heads/main' || startsWith( github.ref, 'refs/heads/develop-' )) &&
github.repository == 'JFormDesigner/FlatLaf' github.repository == 'JFormDesigner/FlatLaf'
steps: steps:

View File

@@ -15,7 +15,7 @@
*/ */
val releaseVersion = "1.6.4" 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 version = if( java.lang.Boolean.getBoolean( "release" ) ) releaseVersion else developmentVersion