houshengbo closed pull request #736: Fix release document to clearly separate "git" command examples from command syntax URL: https://github.com/apache/incubator-openwhisk-wskdeploy/pull/736
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/docs/creating_tagged_releases.md b/docs/creating_tagged_releases.md index ae2c3eb2..15eef630 100644 --- a/docs/creating_tagged_releases.md +++ b/docs/creating_tagged_releases.md @@ -21,8 +21,19 @@ The most convenient way to create a tagged release for wskdeploy is to build the binaries by adding tag to upstream master. -1. Add a tag to a commit id: ```git tag -a 0.8.9<tag> c08b0f<commit id>``` -2. Push the tag upstream: ```git push -f upstream 0.8.9<tag>``` +1. Add a tag to a commit id: ```git tag -a <tag/version> <commit hash>``` + +for example, using the (7 min.) leading characters on commit hash: +``` +$ git tag -a 0.8.9 c08b0f +``` + +2. Push the tag upstream: ```git push -f upstream <tag/version>``` + +for example: +``` +$ git push -f upstream 0.8.9 +``` Travis will start the build of 0.8.9 automatically by the event of tag creation. ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services