Hi Xiangdong, this happens when the release plugin tries to commit and push the changes it does during the release. It changes the versions to the release versions and commits that and then changes them to the next development version and then commits a second time. There seem to be issues with the credentials for pushing the changes. I usually use the gitbox repo which works fine with username+password or when using github I use the ssh key authentication. I guess you're using github with 2FA and that could be a problem.
Try the following command: "git remote set-url https://gitbox.apache.org/repos/asf/incubator-iotdb.git" And then re-try. But first you should probably undo the changes from your first attempt (Hopefully with you having no uncommitted changes) Chris Am 27.09.19, 08:04 schrieb "Xiangdong Huang" <[email protected]>: Hi, @Justin, many thanks! I have already upload the updated KEYS there. Now I want to try maven plugin `mvn release:prepare` to automatically finish some work, like create a tag on github.. However, it fails because: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) on project iotdb-parent: Unable to tag SCM [ERROR] Provider message: [ERROR] The git-push command failed. [ERROR] Command output: [ERROR] remote: Permission to apache/incubator-iotdb.git denied to jixuan1989. (Ah, this is my github account.) [ERROR] fatal: unable to access ' https://github.com/apache/incubator-iotdb.git/': The requested URL returned error: 403 I have set the SSH and GPG key on my Github's account settings. Best, ----------------------------------- Xiangdong Huang School of Software, Tsinghua University 黄向东 清华大学 软件学院 Justin Mclean <[email protected]> 于2019年9月27日周五 下午12:09写道: > HI, > > > 1. Do I need to change the version from 0.8.1-SNAPSHOT to 0.8.1-RC1 > > (RC2,..., RCn) first, and then 0.8.1 second? > > I would just change it to 0.8.1 and name the files / vote emails RC1, RC2 > etc as needed. > > > 2. @Julian, Would you share the commands that you used when releasing > 0.8.0 > > with me? It is very helpful for me. :D. > > Mavin is not an official release area and can be done after the official > source release is voted on. > > You just need to put the official source release here [1]. You would also > need to update the KEYS file there. > > Thanks, > Justin > > 1. https://dist.apache.org/repos/dist/dev/incubator/iotdb/
