Skip to content

Commit c19c039

Browse files
committed
fix: maven publishing, bump version to 4.0.5
1 parent 9fa15be commit c19c039

File tree

4 files changed

+36
-36
lines changed

4 files changed

+36
-36
lines changed

.github/workflows/publish.yml

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
1-
name: Publish to Maven Central
2-
3-
on:
4-
push:
5-
tags:
6-
- "[0-9]+.[0-9]+.[0-9]+*"
7-
8-
jobs:
9-
publish:
10-
name: Publish to Sonatype
11-
runs-on: ubuntu-latest
12-
steps:
13-
- name: Checkout
14-
uses: actions/checkout@v4
15-
16-
- name: Configure JDK
17-
uses: actions/setup-java@v4
18-
with:
19-
distribution: 'temurin'
20-
java-version: '17'
21-
22-
- name: Setup Gradle
23-
uses: gradle/actions/setup-gradle@v4
24-
25-
- name: Upload Artifacts
26-
# gradle.properties must be set with SONATYPE_HOST=CENTRAL_PORTAL and RELEASE_SIGNING_ENABLED=true
27-
run: ./gradlew publishAndReleaseToMavenCentral --no-configuration-cache
28-
env:
29-
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.ORG_GRADLE_PROJECT_mavenCentralUsername }}
30-
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.ORG_GRADLE_PROJECT_mavenCentralPassword }}
31-
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.ORG_GRADLE_PROJECT_signingInMemoryKey }}
32-
ORG_GRADLE_PROJECT_signingInMemoryKeyId: ${{ secrets.ORG_GRADLE_PROJECT_signingInMemoryKeyId }}
33-
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.ORG_GRADLE_PROJECT_signingInMemoryKeyPassword }}
1+
#name: Publish to Maven Central
2+
#
3+
#on:
4+
# push:
5+
# tags:
6+
# - "[0-9]+.[0-9]+.[0-9]+*"
7+
#
8+
#jobs:
9+
# publish:
10+
# name: Publish to Sonatype
11+
# runs-on: ubuntu-latest
12+
# steps:
13+
# - name: Checkout
14+
# uses: actions/checkout@v4
15+
#
16+
# - name: Configure JDK
17+
# uses: actions/setup-java@v4
18+
# with:
19+
# distribution: 'temurin'
20+
# java-version: '17'
21+
#
22+
# - name: Setup Gradle
23+
# uses: gradle/actions/setup-gradle@v4
24+
#
25+
# - name: Upload Artifacts
26+
# # gradle.properties must be set with SONATYPE_HOST=CENTRAL_PORTAL and RELEASE_SIGNING_ENABLED=true
27+
# run: ./gradlew publishAndReleaseToMavenCentral --no-configuration-cache
28+
# env:
29+
# ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.ORG_GRADLE_PROJECT_mavenCentralUsername }}
30+
# ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.ORG_GRADLE_PROJECT_mavenCentralPassword }}
31+
# ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.ORG_GRADLE_PROJECT_signingInMemoryKey }}
32+
# ORG_GRADLE_PROJECT_signingInMemoryKeyId: ${{ secrets.ORG_GRADLE_PROJECT_signingInMemoryKeyId }}
33+
# ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.ORG_GRADLE_PROJECT_signingInMemoryKeyPassword }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The Kotlin SDK for TelemetryDeck is available from Maven Central and can be used
1010

1111
```groovy
1212
dependencies {
13-
implementation 'com.telemetrydeck:kotlin-sdk:4.0.2'
13+
implementation 'com.telemetrydeck:kotlin-sdk:4.0.5'
1414
}
1515
```
1616

lib/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ dependencies {
9898
}
9999

100100
mavenPublishing {
101-
coordinates("com.telemetrydeck", "kotlin-sdk", "4.0.3")
101+
coordinates("com.telemetrydeck", "kotlin-sdk", "4.0.5")
102102

103103
pom {
104104
name = "TelemetryDeck SDK"

lib/src/main/java/com/telemetrydeck/sdk/providers/EnvironmentParameterProvider.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class EnvironmentParameterProvider : TelemetryDeckProvider, TelemetryProviderFal
3030
private val platform: String = "Android"
3131
private val os: String = "Android"
3232
private val sdkName: String = "KotlinSDK"
33-
private val sdkVersion: String = "4.0.3"
33+
private val sdkVersion: String = "4.0.5"
3434

3535
override fun fallbackRegister(ctx: Application?, client: TelemetryDeckSignalProcessor) {
3636
register(ctx, client)

0 commit comments

Comments
 (0)