Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

Bump version and modify release script for 0.7.0-rc2 #3272

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions script/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ PROJECT_URL="git@github.com:${GITHUB_USER}/${GITHUB_REPO}"

function usage {
echo "Usage: "
echo " GITHUB_TOKEN=XXXXX ${0} 0.6.x"
echo " GITHUB_TOKEN=XXXXX ${0} [X.Y.Z]"
}

function display {
Expand Down Expand Up @@ -61,7 +61,7 @@ GITHUB_VERSION="v${VERSION}"
RELEASE_DIR="$(dirname "$(git rev-parse --show-toplevel)")/release-${VERSION}"
GITHUB_RELEASE_FILE="github-release-${VERSION}.md"

LAST_RELEASE_VERSION=$(git describe --abbrev=0 --tags)
LAST_RELEASE_VERSION=$(git describe --tags $(git rev-list --tags --max-count=1))
checkError "Unable to find current version tag"

display "Starting release from ${LAST_RELEASE_VERSION} to ${GITHUB_VERSION} on ${PROJECT_URL} with token ${GITHUB_TOKEN}"
Expand Down
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

var (
// Version should be updated by hand at each release
Version = "0.7.0-rc1"
Version = "0.7.0-rc2"

// GitCommit will be overwritten automatically by the build system
GitCommit = "HEAD"
Expand Down