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

Commit

Permalink
Merge pull request #3272 from nathanleclaire/release_v-0.7.0-rc2_bump
Browse files Browse the repository at this point in the history
Bump version and modify release script for 0.7.0-rc2
  • Loading branch information
nathanleclaire committed Apr 4, 2016
2 parents 9b04627 + 29bd4db commit 60dbecb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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

0 comments on commit 60dbecb

Please sign in to comment.