Skip to content

Commit 60dbecb

Browse files
Merge pull request docker-archive-public#3272 from nathanleclaire/release_v-0.7.0-rc2_bump
Bump version and modify release script for 0.7.0-rc2
2 parents 9b04627 + 29bd4db commit 60dbecb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

script/release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ PROJECT_URL="git@github.com:${GITHUB_USER}/${GITHUB_REPO}"
66

77
function usage {
88
echo "Usage: "
9-
echo " GITHUB_TOKEN=XXXXX ${0} 0.6.x"
9+
echo " GITHUB_TOKEN=XXXXX ${0} [X.Y.Z]"
1010
}
1111

1212
function display {
@@ -61,7 +61,7 @@ GITHUB_VERSION="v${VERSION}"
6161
RELEASE_DIR="$(dirname "$(git rev-parse --show-toplevel)")/release-${VERSION}"
6262
GITHUB_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))
6565
checkError "Unable to find current version tag"
6666

6767
display "Starting release from ${LAST_RELEASE_VERSION} to ${GITHUB_VERSION} on ${PROJECT_URL} with token ${GITHUB_TOKEN}"

version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

88
var (
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"

0 commit comments

Comments
 (0)