This is an automated email from the ASF dual-hosted git repository.

sijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git


The following commit(s) were added to refs/heads/master by this push:
     new 456451b  ISSUE #805: some fix in release_guide.md
456451b is described below

commit 456451bbf925a3d3813238a378c794864f25cb36
Author: Jia Zhai <[email protected]>
AuthorDate: Tue Dec 5 16:52:12 2017 -0800

    ISSUE #805: some fix in release_guide.md
    
    Descriptions of the changes in this PR:
    
    during preparing release 4.6.0, there was some errors meet,
    1,
    `git tag -d ${VERSION} && git push apache :refs/tags/${VERSION}`
    should be
    `git tag -d release-${VERSION} && git push apache 
:refs/tags/release-${VERSION}`
    
    2, .m2/settings.xml may not take effect for "Apache Nexus repository" 
setting, it may be not your "global settings file"
    
    Author: Jia Zhai <[email protected]>
    
    Reviewers: Ivan Kelly <[email protected]>, Sijie Guo <[email protected]>
    
    This closes #811 from jiazhai/issue-805, closes #805
---
 site/community/release_guide.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/site/community/release_guide.md b/site/community/release_guide.md
index 962d7e5..b8f3932 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.

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to