Hi Stamatis, Thanks a lot for your clarification and confirmation.
Best, Liya Fan Stamatis Zampetakis <[email protected]> 于2022年3月11日周五 21:39写道: > Hi Liya, > > The asf.git.pushRepositoryProvider property controls the git repository > that is used by the release plugin [1]. There are two options: > * GITBOX -> https://gitbox.apache.org/repos/asf/calcite.git > * GITHUB -> https://github.com/apache/calcite.git > > In the first attempt, you tried to push to GITBOX and it failed. > In the second attempt, you tried to push to GITHUB and it was successful. > > Probably, the reason lies behind the credentials (asfGitSourceUsername, > asfGitSourcePassword) that you are using for the release (GitHub vs ASF). > > When you push changes to a remote Calcite repository (that being regular > commits, or tags, or anything else) you have to pick one of the two > available options and that is sufficient. > > Best, > Stamatis > > [1] > > https://github.com/vlsi/vlsi-release-plugins/commit/b8b3c60760f2065d791c0b095e1b675cdbcfacbd > > On Fri, Mar 11, 2022 at 2:09 PM Fan Liya <[email protected]> wrote: > > > Hi all, > > > > When preparing a release build, I ran the command according to the > document > > [1]: > > > > *./gradlew prepareVote -Prc=2 -Pasf > > -Pasf.git.pushRepositoryProvider=GITBOX* > > > > Then I got the following error message: > > > > > > > > *Build calcite FAILURE reason: Execution failed for task ':pushRcTag': > > Caused by: org.eclipse.jgit.api.errors.TransportException: > > https://gitbox.apache.org/repos/asf/calcite.git > > <https://gitbox.apache.org/repos/asf/calcite.git>: not authorized* > > > > However, when I remove the last command line argument: > > > > *./gradlew prepareVote -Prc=2 -Pasf* > > > > It seemed to finish successfully. > > > > Is this expected? > > Thank you in advance. > > > > Best, > > Liya Fan > > > > [1] > https://calcite.apache.org/docs/howto.html#making-a-release-candidate > > >
