Skip to content

Commit

Permalink
feat(core): update play cli to last revision
Browse files Browse the repository at this point in the history
  • Loading branch information
Vacxe committed Apr 8, 2024
1 parent 507ccec commit 15d20f4
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/Versions.kt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
object Versions {
const val clikt = "2.6.0"
const val googleOAuth = "1.13.0"
const val googleAppPublisher = "v3-rev142-1.25.0"
const val googleAppPublisher = "v3-rev20240328-2.0.0"
const val junit = "4.13"
}

Expand Down
2 changes: 1 addition & 1 deletion github-action/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/vacxe/google-play-cli:0.3.9
FROM ghcr.io/vacxe/google-play-cli:0.4.0

COPY entrypoint.sh /entrypoint.sh
COPY templates /templates
Expand Down
2 changes: 1 addition & 1 deletion github-action/templates/bundles-upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ echo "---"

EDIT_ID=$(google-play-cli edit create)
echo "Edit id created: $EDIT_ID"
echo "Upload APK..."
echo "Upload Bundle..."
google-play-cli bundles upload --edit-id "$EDIT_ID" --package-name "$PACKAGE_NAME" --bundle "$PATH_TO_BUNDLE"
echo "Update track..."
google-play-cli tracks update --edit-id "$EDIT_ID" --package-name "$PACKAGE_NAME" --track "$TRACK" --apk-version-code "$VERSION_CODE"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ package com.github.vacxe.googleplaycli
import com.github.vacxe.googleplaycli.actions.*
import com.google.api.client.googleapis.javanet.GoogleNetHttpTransport
import com.google.api.client.http.HttpRequestInitializer
import com.google.api.client.json.jackson2.JacksonFactory
import com.google.api.client.json.JsonFactory
import com.google.api.client.json.gson.GsonFactory
import com.google.api.services.androidpublisher.AndroidPublisher
import com.google.api.services.androidpublisher.AndroidPublisherScopes
import com.google.auth.http.HttpCredentialsAdapter
Expand Down Expand Up @@ -45,7 +46,7 @@ class PlayStoreApi(serviceAccountInputStream: InputStream, appName: String) :

androidPublisher = AndroidPublisher.Builder(
GoogleNetHttpTransport.newTrustedTransport(),
JacksonFactory.getDefaultInstance(),
GsonFactory.getDefaultInstance(),
setHttpTimeout(HttpCredentialsAdapter(accountCredentials), connectionTimeout)
)
.setApplicationName(appName)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ fun main(args: Array<String>) {
addCmd {
object : CliktCommand(name = "version", help = "Library version code") {
override fun run() {
println("0.3.9")
println("0.4.0")
}
}
}
Expand Down

0 comments on commit 15d20f4

Please sign in to comment.