Skip to content
This repository has been archived by the owner on Dec 21, 2019. It is now read-only.

Commit

Permalink
chore: Version bump to 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
tazjin committed May 18, 2017
1 parent aadea2f commit f79b261
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions build-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand All @@ -18,8 +18,6 @@ function build-for() {
-ldflags "${LDFLAGS}" \
-o "${target}/kontemplate" \
-tags netgo


}

function sign-for() {
Expand Down
2 changes: 1 addition & 1 deletion kontemplate.frm
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f79b261

Please sign in to comment.