File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ PROJECT_URL="git@github.com:${GITHUB_USER}/${GITHUB_REPO}"
66
77function usage {
88 echo " Usage: "
9- echo " GITHUB_TOKEN=XXXXX ${0} 0.6.x "
9+ echo " GITHUB_TOKEN=XXXXX ${0} [X.Y.Z] "
1010}
1111
1212function display {
@@ -61,7 +61,7 @@ GITHUB_VERSION="v${VERSION}"
6161RELEASE_DIR=" $( dirname " $( git rev-parse --show-toplevel) " ) /release-${VERSION} "
6262GITHUB_RELEASE_FILE=" github-release-${VERSION} .md"
6363
64- LAST_RELEASE_VERSION=$( git describe --abbrev=0 -- tags)
64+ LAST_RELEASE_VERSION=$( git describe --tags $( git rev-list -- tags --max-count=1 ) )
6565checkError " Unable to find current version tag"
6666
6767display " Starting release from ${LAST_RELEASE_VERSION} to ${GITHUB_VERSION} on ${PROJECT_URL} with token ${GITHUB_TOKEN} "
Original file line number Diff line number Diff line change 77
88var (
99 // Version should be updated by hand at each release
10- Version = "0.7.0-rc1 "
10+ Version = "0.7.0-rc2 "
1111
1212 // GitCommit will be overwritten automatically by the build system
1313 GitCommit = "HEAD"
You can’t perform that action at this time.
0 commit comments