chore: Version bump to 1.0.2
This commit is contained in:
parent
aadea2f698
commit
f79b261079
3 changed files with 3 additions and 5 deletions
|
@ -3,7 +3,7 @@ set -ueo pipefail
|
||||||
|
|
||||||
readonly GIT_HASH="$(git rev-parse --short HEAD)"
|
readonly GIT_HASH="$(git rev-parse --short HEAD)"
|
||||||
readonly LDFLAGS="-X main.gitHash=${GIT_HASH} -w -s"
|
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() {
|
function build-for() {
|
||||||
local os="${1}"
|
local os="${1}"
|
||||||
|
@ -18,8 +18,6 @@ function build-for() {
|
||||||
-ldflags "${LDFLAGS}" \
|
-ldflags "${LDFLAGS}" \
|
||||||
-o "${target}/kontemplate" \
|
-o "${target}/kontemplate" \
|
||||||
-tags netgo
|
-tags netgo
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function sign-for() {
|
function sign-for() {
|
||||||
|
|
|
@ -73,7 +73,7 @@ action:
|
||||||
echo 'nameserver 8.8.8.8' > /etc/resolv.conf
|
echo 'nameserver 8.8.8.8' > /etc/resolv.conf
|
||||||
apt-get update && apt-get install -y git ca-certificates
|
apt-get update && apt-get install -y git ca-certificates
|
||||||
mkdir -p /go/src/github.com/tazjin
|
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
|
cd /go/src/github.com/tazjin/kontemplate
|
||||||
./build-release.sh build
|
./build-release.sh build
|
||||||
outputs:
|
outputs:
|
||||||
|
|
2
main.go
2
main.go
|
@ -11,7 +11,7 @@ import (
|
||||||
"gopkg.in/alecthomas/kingpin.v2"
|
"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
|
// This variable will be initialised by the Go linker during the builder
|
||||||
var gitHash string
|
var gitHash string
|
||||||
|
|
Loading…
Reference in a new issue