Skip to content

Commit

Permalink
Fix snapshot issue (#9)
Browse files Browse the repository at this point in the history
* fix ci

* prepare snapshot 1.0.1

---------

Co-authored-by: Wenxi Zeng <[email protected]>
  • Loading branch information
wenxi-zeng and Wenxi Zeng authored May 3, 2024
1 parent a596948 commit c5993f8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c5993f8

Please sign in to comment.