File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,8 @@ def isDevBuild
3636def isSnapshotBuild
3737def isReleaseBuild
3838def sonatypeRepositoryUrl
39- def mavenCentralUsername = System . getenv(' MAVEN_CENTRAL_USERNAME ' )
40- def mavenCentralPassword = System . getenv(' MAVEN_CENTRAL_PASSWORD ' )
39+ def sonatypeUsername = System . getenv(' SONATYPE_USERNAME ' )
40+ def sonatypePassword = System . getenv(' SONATYPE_PASSWORD ' )
4141def protoDepsPath = " proto_deps"
4242
4343if (hasProperty(" release" )) {
@@ -154,8 +154,8 @@ publishing {
154154 maven {
155155 url = sonatypeRepositoryUrl
156156 credentials {
157- username = mavenCentralUsername
158- password = mavenCentralPassword
157+ username = sonatypeUsername
158+ password = sonatypePassword
159159 }
160160 }
161161 }
Original file line number Diff line number Diff line change @@ -22,6 +22,6 @@ sonatypeUsername=${SONATYPE_USERNAME}
2222sonatypePassword=${SONATYPE_PASSWORD}
2323nexusUsername=${SONATYPE_USERNAME}
2424nexusPassword=${SONATYPE_PASSWORD}
25- mavenCentralUsername=${MAVEN_CENTRAL_USERNAME }
26- mavenCentralPassword=${MAVEN_CENTRAL_PASSWORD }
25+ mavenCentralUsername=${SONATYPE_USERNAME }
26+ mavenCentralPassword=${SONATYPE_PASSWORD }
2727EOF
You can’t perform that action at this time.
0 commit comments