build: Back to snapshot for development

This commit is contained in:
NotMyFault 2022-01-14 14:54:37 +01:00
parent 2c4453b68f
commit f077ec9163
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C
2 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@ jobs:
fi
- name: Publish Release
if: ${{ runner.os == 'Linux' && env.STATUS == 'release' && github.event_name == 'push' && github.ref == 'refs/heads/main'}}
run: ./gradlew publishToSonatype closeSonatypeStagingRepository
run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
env:
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }}
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }}

View File

@ -22,7 +22,7 @@ logger.lifecycle("""
*******************************************
""")
var rootVersion by extra("2.0.0")
var rootVersion by extra("2.0.1")
var snapshot by extra("SNAPSHOT")
var revision: String by extra("")
var buildNumber by extra("")
@ -40,7 +40,7 @@ ext {
}
}
version = String.format("%s", rootVersion)
version = String.format("%s-%s", rootVersion, buildNumber)
if (!project.hasProperty("gitCommitHash")) {
apply(plugin = "org.ajoberstar.grgit")