Skip to content

Commit

Permalink
[ANDROAPP-6188] Remove sign in
Browse files Browse the repository at this point in the history
  • Loading branch information
andresmr committed May 29, 2024
1 parent 3abb14f commit f597328
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/scripts/publish-maven.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ branch=$(git rev-parse --abbrev-ref HEAD)
if [ "$branch" = "main" ]; then
./gradlew :designsystem:publishToSonatype closeAndReleaseSonatypeStagingRepository -PremoveSnapshotSuffix
else
echo "BRANCH_NAME: $branch"
./gradlew :designsystem:publishToSonatype
fi
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,11 @@ publishing {
}

// Signing artifacts. Signing.* extra properties values will be used
/*signing {
setRequired({ !version.toString().endsWith("-SNAPSHOT") })
signing {
setRequired({
println("VERSION_NAME: $version")
!version.toString().endsWith("-SNAPSHOT")
})
useInMemoryPgpKeys(signingPrivateKey, signingPassword)
sign(publishing.publications)
}
Expand All @@ -69,4 +72,4 @@ publishing {
tasks.withType<AbstractPublishToMaven>().configureEach {
val signingTasks = tasks.withType<Sign>()
mustRunAfter(signingTasks)
}*/
}

0 comments on commit f597328

Please sign in to comment.