chore: Version bump to 1.0.2

This commit is contained in:
Vincent Ambo 2017-05-18 19:37:01 +02:00
parent aadea2f698
commit f79b261079
3 changed files with 3 additions and 5 deletions

View file

@ -3,7 +3,7 @@ set -ueo pipefail
readonly GIT_HASH="$(git rev-parse --short HEAD)"
readonly LDFLAGS="-X main.gitHash=${GIT_HASH} -w -s"
readonly VERSION="1.0.1-${GIT_HASH}"
readonly VERSION="1.0.2-${GIT_HASH}"
function build-for() {
local os="${1}"
@ -18,8 +18,6 @@ function build-for() {
-ldflags "${LDFLAGS}" \
-o "${target}/kontemplate" \
-tags netgo
}
function sign-for() {

View file

@ -73,7 +73,7 @@ action:
echo 'nameserver 8.8.8.8' > /etc/resolv.conf
apt-get update && apt-get install -y git ca-certificates
mkdir -p /go/src/github.com/tazjin
git clone --single-branch --branch v1.0.1 https://github.com/tazjin/kontemplate /go/src/github.com/tazjin/kontemplate
git clone --single-branch --branch v1.0.2 https://github.com/tazjin/kontemplate /go/src/github.com/tazjin/kontemplate
cd /go/src/github.com/tazjin/kontemplate
./build-release.sh build
outputs:

View file

@ -11,7 +11,7 @@ import (
"gopkg.in/alecthomas/kingpin.v2"
)
const version string = "1.0.1"
const version string = "1.0.2"
// This variable will be initialised by the Go linker during the builder
var gitHash string