Update README.md

This commit is contained in:
Jeff Regan
2019-10-07 12:38:21 -07:00
committed by GitHub
parent 1617183ea4
commit 988af1ff61

View File

@@ -152,7 +152,8 @@ since the branch accumulates patch releases.
> release branch that already exists. > release branch that already exists.
``` ```
branch="release-${module}-v${major}.${minor} branch="release-${module}-v${major}.${minor}"
echo "branch=$branch"
git checkout -b $branch git checkout -b $branch
``` ```
@@ -210,11 +211,12 @@ git ls-remote --tags upstream
### define the release tag ### define the release tag
``` ```
tag="v${major}.v${minor}.${patch} tag="v${major}.v${minor}.${patch}"
if [ "$module" != "api" ]; then if [ "$module" != "api" ]; then
# must prefix the tag with submodule name # must prefix the tag with submodule name
tag="${module}/${tag}" tag="${module}/${tag}"
fi fi
echo "tag=$tag"
``` ```
### if replacing a release... ### if replacing a release...