diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 23ec949..6f2b0bb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,7 +35,7 @@ jobs: restore-keys: | ${{ runner.os }}-gradle-core- - name: Publush release to sonatype - run: ./gradlew publishToSonatype -Prelease closeAndReleaseSonatypeStagingRepository + run: ./gradlew clean build publishToSonatype -Prelease closeAndReleaseSonatypeStagingRepository env: SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }} SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }} diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 9d3182c..6ccd79a 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -22,7 +22,7 @@ jobs: restore-keys: | ${{ runner.os }}-gradle-core- - name: Publush snapshot to sonatype - run: ./gradlew publishToSonatype + run: ./gradlew clean build publishToSonatype env: SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }} SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }} diff --git a/gradle.properties b/gradle.properties index 36ec32f..23b828a 100644 --- a/gradle.properties +++ b/gradle.properties @@ -24,8 +24,8 @@ android.nonTransitiveRClass=true GROUP=com.segment.analytics.kotlin -VERSION_CODE=100 -VERSION_NAME=1.0.0 +VERSION_CODE=101 +VERSION_NAME=1.0.1 POM_NAME=Substrata POM_DESCRIPTION=The hassle-free way to add analytics to your Kotlin app.