[go: nahoru, domu]

Skip to content

Commit

Permalink
Merge pull request #1715 from microsoft/migrate-maven-release-to-esrp
Browse files Browse the repository at this point in the history
[CI] Migrate Maven-Release to ESRP-Release task
  • Loading branch information
AnatolyPristensky authored Nov 22, 2023
2 parents 7fffffe + d0d4996 commit d406e11
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
2 changes: 0 additions & 2 deletions publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ ext {
properties.load(file.newDataInputStream())
}

mavenUser = properties.getProperty("maven.user")
mavenKey = properties.getProperty("maven.key")
mavenRepoUrl = properties.getProperty("maven.repoUrl")
mavenSigningKeyId = properties.getProperty("maven.signingKeyId")
mavenPublicKeyPassword = properties.getProperty("maven.publicKeyPassword")
mavenSecretKeyPath = properties.getProperty("maven.secretKeyPath")
Expand Down
7 changes: 3 additions & 4 deletions scripts/put-bintray-secrets-gradle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
cat >> local.properties << EOL
maven.user=${1:-$MAVEN_USER}
maven.key=${2:-$MAVEN_KEY}
maven.repoUrl=${3:-$MAVEN_REPO}
maven.signingKeyId=${4:-$GDP_SIGNING_KEY_ID}
maven.secretKeyPath=${5:-$GDP_KEY_SECRET_PATH}
maven.publicKeyPassword=${6:-$GDP_KEY_PASSWORD}
maven.signingKeyId=${3:-$GDP_SIGNING_KEY_ID}
maven.secretKeyPath=${4:-$GDP_KEY_SECRET_PATH}
maven.publicKeyPassword=${5:-$GDP_KEY_PASSWORD}
EOL
6 changes: 1 addition & 5 deletions sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,7 @@ subprojects {
publishing {
repositories {
maven {
url = ext.mavenRepoUrl
credentials {
username = ext.mavenUser
password = ext.mavenKey
}
url = uri("${System.env.BUILD_DIR}")
}
}

Expand Down

0 comments on commit d406e11

Please sign in to comment.