Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubuid committed Jul 18, 2024
1 parent 2428bfe commit 6c5bde0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,11 @@ tasks.register("closeSonatypeStagingRepositories") {
val client = HttpClients.createDefault()
val post = HttpPost("https://oss.sonatype.org/service/local/staging/bulk/close")
post.setHeader("Content-Type", "application/json")
post.setHeader("Authorization", "Basic " + Base64.getEncoder().encodeToString("KotlinWC:7nL%X_X92vZKj@+".toByteArray())) //todo: get the same pass as in 1Pass
post.setHeader("Authorization", "Basic " + Base64.getEncoder().encodeToString("${System.getenv("OSSRH_USERNAME")}:${System.getenv("OSSRH_PASSWORD")}".toByteArray()))
println("kobe: POST: $post")



val response: HttpResponse = client.execute(post)
println("Closed staging repositories - Response Code: ${response}")
}
Expand Down
4 changes: 3 additions & 1 deletion buildSrc/src/main/kotlin/Versions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ const val KEY_PUBLISH_ARTIFACT_ID = "PUBLISH_ARTIFACT_ID"
const val KEY_SDK_NAME = "SDK_NAME"

//Latest versions

//todo: test versions - remove
const val BOM_VERSION = "1.32.18000"
const val FOUNDATION_VERSION = "1.17.3"
const val FOUNDATION_VERSION = "1.17.28000"
const val CORE_VERSION = "1.32.08000"
const val SIGN_VERSION = "2.32.08000"
const val AUTH_VERSION = "1.28.38000"
Expand Down

0 comments on commit 6c5bde0

Please sign in to comment.