Skip to content

Commit

Permalink
Update signing configuration and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan3d committed Dec 11, 2023
1 parent fb556b2 commit 682d1b3
Showing 4 changed files with 9 additions and 9 deletions.
9 changes: 4 additions & 5 deletions RELEASING.md
Original file line number Diff line number Diff line change
@@ -12,12 +12,11 @@ https://github.com/Codearte/gradle-nexus-staging-plugin#server-credentials.
1. Run `./gradlew clean test` and make sure everything passes.
1. Run `./gradlew publish -PSONATYPE_NEXUS_USERNAME=<user> -PSONATYPE_NEXUS_PASSWORD=<password>`
and follow the instructions.
1. Enter the release version when prompted or press Enter for default (Please double check the version if you do so).
1. Enter the next development version when prompted or press Enter for default (Please double check the version if you do so).
1. When the build has successfully completed, run `./gradlew closeAndReleaseRepo`. If this times out
or fails some other way, log in manually to https://oss.sonatype.org/ and either complete the
release through closing and releasing the staging repository, or by cleaning up and rerunning.
1. When the build has successfully completed, log in manually to https://oss.sonatype.org/ and
either complete the release through closing and releasing the staging repository,
or by cleaning up and rerunning.
1. Add a description of the new release at https://github.com/spotify/mobius/releases.
1. Once the new set of artifacts is available on https://repo.maven.apache.org/maven2/com/spotify/mobius/, update the
`baselineVersion` property in [binary_compatibility.gradle](gradle/binary_compatibility.gradle) to the
version that was just released.
1. Update the version in gradle.properties in the master branch to the next version
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version=1.5.13
version=1.5.14

GROUP=com.spotify.mobius

2 changes: 1 addition & 1 deletion gradle/binary_compatibility.gradle
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ buildscript {
}

File baselineJar = null
def baselineVersion = "1.5.12"
def baselineVersion = "1.5.13"
def projectGroup = project.group
def projectName = project.name

5 changes: 3 additions & 2 deletions gradle/gradle-mvn-push.gradle
Original file line number Diff line number Diff line change
@@ -36,6 +36,7 @@ afterEvaluate {
publications {
if (!isAndroid) {
mavenJava(MavenPublication) {

from components.java

groupId = GROUP
@@ -117,8 +118,8 @@ afterEvaluate {
}

signing {
required { isReleaseBuild() && gradle.taskGraph.hasTask("publish") }
sign configurations.archives
required { isReleaseBuild() }
sign publishing.publications
}

if (JavaVersion.current().isJava8Compatible()) {

0 comments on commit 682d1b3

Please sign in to comment.