diff --git a/Dockerfile b/Dockerfile index 1425d68..d1ce888 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ MAINTAINER RUN apk add --no-cache ca-certificates -ENV RANCHER_GEN_RELEASE v0.4.1 +ENV RANCHER_GEN_RELEASE v0.4.2 ADD https://github.com/janeczku/go-rancher-gen/releases/download/${RANCHER_GEN_RELEASE}/rancher-gen-linux-amd64.tar.gz /tmp/rancher-gen.tar.gz RUN tar -zxvf /tmp/rancher-gen.tar.gz -C /usr/local/bin \ diff --git a/Makefile b/Makefile index bf44b10..212c2b7 100644 --- a/Makefile +++ b/Makefile @@ -43,9 +43,10 @@ vet: test: godep go test -v ./... -release: - rm -f build/rancher-gen-linux-amd64.tar.gz +package: clean build tar -zcvf build/rancher-gen-linux-amd64.tar.gz build/rancher-gen-linux-amd64 + +release: git tag `cat VERSION` git push origin master --tags diff --git a/VERSION b/VERSION index be5bf2a..6466da5 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v0.4.1 \ No newline at end of file +v0.4.2 \ No newline at end of file