Skip to content

Commit

Permalink
Moshi 1.x publishes releases
Browse files Browse the repository at this point in the history
  • Loading branch information
swankjesse committed May 12, 2023
1 parent 4109c5a commit 491e66b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}'
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ plugins {

allprojects {
group = "com.squareup.moshi"
version = "1.15.0-SNAPSHOT"
version = "1.15.0"

repositories {
mavenCentral()
Expand Down

0 comments on commit 491e66b

Please sign in to comment.