You need to include your username and password using the -Pasf* flags.
Here's how I use those flags to publish an avatica release using docker:
https://github.com/apache/calcite-avatica/blob/master/docker.sh#L251
Francis
On 24/07/2020 12:43 pm, Chunwei Lei wrote:
Hi all,
I tried to push the release out to mirrors. But I met an error:
$ ./gradlew publishDist -Prc=0 -Pasf
Starting a Gradle Daemon, 3 busy and 1 incompatible Daemons could not be
reused, use --status for details
Configure project :
Building Apache Calcite 1.24.0
Task :publishSvnDist
Listing SVN folders [dev/calcite/apache-calcite-1.24.0-rc0] at
https://dist.apache.org/repos/dist
Executing svnmucc. root=https://dist.apache.org/repos/dist,
message=Promoting Apache Calcite calcite-1.24.0-rc0 -> calcite-1.24.0 to
release area, commands:
mkdir
release/calcite/apache-calcite-1.24.0
cp
40574
dev/calcite/apache-calcite-1.24.0-rc0/apache-calcite-1.24.0-src.tar.gz
release/calcite/apache-calcite-1.24.0/apache-calcite-1.24.0-src.tar.gz
cp
40574
dev/calcite/apache-calcite-1.24.0-rc0/apache-calcite-1.24.0-src.tar.gz.asc
release/calcite/apache-calcite-1.24.0/apache-calcite-1.24.0-src.tar.gz.asc
cp
40574
dev/calcite/apache-calcite-1.24.0-rc0/apache-calcite-1.24.0-src.tar.gz.sha512
release/calcite/apache-calcite-1.24.0/apache-calcite-1.24.0-src.tar.gz.sha512
rm
dev/calcite/apache-calcite-1.24.0-rc0
svnmucc: E175013: Access to
'/repos/dist/!svn/txr/40659-yas/release/calcite/apache-calcite-1.24.0'
forbidden
Task :publishSvnDist FAILED
Build calcite FAILURE reason:
Execution failed for task ':publishSvnDist':
org.gradle.process.internal.ExecException: Process 'command
'svnmucc'' finished with non-zero exit value 1
at
org.gradle.process.internal.DefaultExecHandle$ExecResultImpl.assertNormalExitValue(DefaultExecHandle.java:417)
at
org.gradle.process.internal.DefaultExecAction.execute(DefaultExecAction.java:38)
at
org.gradle.process.internal.DefaultExecActionFactory.exec(DefaultExecActionFactory.java:156)
at
org.gradle.api.internal.project.DefaultProject.exec(DefaultProject.java:1147)
at
com.github.vlsi.gradle.release.SvnmuccTask.mucc(SvnmuccTask.kt:137)
at
org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:104)
Any step I may miss?
Best,
Chunwei
On Fri, Jul 24, 2020 at 12:28 AM Chunwei Lei <[email protected]> wrote:
Thanks to everyone who has tested the release candidate and given
their comments and votes.
The tally is as follows.
5 binding +1s:
Michael Mior
Julian Hyde
Haisheng Yuan
Francis Chuang
Danny Chen
4 non-binding +1s:
Enrico Olivelli
Ruleben Q L
Rui Wang
Chunwei Lei
1 binding 0s:
Stamatis Zampetakis
No -1s.
Therefore I am delighted to announce that the proposal to release
Apache Calcite 1.24.0 has passed.
Thanks everyone. We’ll now roll the release out to the mirrors.
The release notes will be updated afterward according to the feedback.
Best,
Chunwei