Skip to content

Commit 9c2f1a2

Browse files
authored
Fix snapshot issue (#9)
* fix ci * prepare snapshot 1.0.1 --------- Co-authored-by: Wenxi Zeng <wzeng@twilio.com>
1 parent b674009 commit 9c2f1a2

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
restore-keys: |
3636
${{ runner.os }}-gradle-core-
3737
- name: Publush release to sonatype
38-
run: ./gradlew publishToSonatype -Prelease closeAndReleaseSonatypeStagingRepository
38+
run: ./gradlew clean build publishToSonatype -Prelease closeAndReleaseSonatypeStagingRepository
3939
env:
4040
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
4141
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}

.github/workflows/snapshot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
restore-keys: |
2323
${{ runner.os }}-gradle-core-
2424
- name: Publush snapshot to sonatype
25-
run: ./gradlew publishToSonatype
25+
run: ./gradlew clean build publishToSonatype
2626
env:
2727
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
2828
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ android.nonTransitiveRClass=true
2424

2525
GROUP=com.segment.analytics.kotlin
2626

27-
VERSION_CODE=100
28-
VERSION_NAME=1.0.0
27+
VERSION_CODE=101
28+
VERSION_NAME=1.0.1
2929

3030
POM_NAME=Substrata
3131
POM_DESCRIPTION=The hassle-free way to add analytics to your Kotlin app.

0 commit comments

Comments
 (0)