sijie closed pull request #811: Issue 805: some fix in release_guide.md URL: https://github.com/apache/bookkeeper/pull/811
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/site/community/release_guide.md b/site/community/release_guide.md index 962d7e503..b8f393209 100644 --- a/site/community/release_guide.md +++ b/site/community/release_guide.md @@ -117,7 +117,7 @@ Configure access to the [Apache Nexus repository](http://repository.apache.org/) 2. Confirm you have appropriate access by finding `org.apache.bookkeeper` under `Staging Profiles`. 3. Navigate to your `Profile` (top right dropdown menu of the page). 4. Choose `User Token` from the dropdown, then click `Access User Token`. Copy a snippet of the Maven XML configuration block. -5. Insert this snippet twice into your global Maven `settings.xml` file, typically `${HOME}/.m2/settings.xml`. The end result should look like this, where `TOKEN_NAME` and `TOKEN_PASSWORD` are your secret tokens: +5. Insert this snippet twice into your global Maven `settings.xml` file (use command `mvn -X | grep settings`, and read out the global Maven setting file), typically `${HOME}/.m2/settings.xml`. The end result should look like this, where `TOKEN_NAME` and `TOKEN_PASSWORD` are your secret tokens: <settings> <servers> @@ -303,7 +303,7 @@ Use Maven release plugin to stage these artifacts on the Apache Nexus repository mvn release:perform [-DdryRun] [-Darguments="-Dmaven.javadoc.skip=true -DskipTests=true"] [-Dresume=true] > If `release:perform` failed, -> delete the release tag: git tag -d ${VERSION} && git push apache :refs/tags/${VERSION} +> delete the release tag: git tag -d release-${VERSION} && git push apache :refs/tags/release-${VERSION} > > Also, you need to check the git commits on the github and if needed you may > have to > force push backed out local git branch to github again. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
