From 491e66bd6475860ec0cba35f76dd14ec88fbeeca Mon Sep 17 00:00:00 2001 From: Jesse Wilson Date: Fri, 12 May 2023 12:08:27 -0400 Subject: [PATCH] Moshi 1.x publishes releases --- .github/workflows/build.yml | 2 +- build.gradle.kts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8ff00bd34..4ad83fdc6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,7 +39,7 @@ jobs: run: ./gradlew build check --stacktrace -PkotlinTestMode=${{ matrix.kotlin-test-mode }} - name: Publish (default branch only) - if: github.repository == 'square/moshi' && github.ref == 'refs/heads/master' && matrix.kotlin-test-mode == 'reflect' + if: github.repository == 'square/moshi' && github.ref == 'refs/heads/moshi_1.x' && matrix.kotlin-test-mode == 'reflect' run: ./gradlew publish env: ORG_GRADLE_PROJECT_mavenCentralUsername: '${{ secrets.SONATYPE_NEXUS_USERNAME }}' diff --git a/build.gradle.kts b/build.gradle.kts index 6d16e3997..4fec3a49f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -44,7 +44,7 @@ plugins { allprojects { group = "com.squareup.moshi" - version = "1.15.0-SNAPSHOT" + version = "1.15.0" repositories { mavenCentral()