From ba08e927025a7b9a8ece646b99386877f3ba670b Mon Sep 17 00:00:00 2001 From: beeceej Date: Fri, 2 Oct 2020 11:17:09 -0400 Subject: [PATCH] Release: v0.0.9 --- Dockerfile | 4 ++-- Makefile | 6 +++++- bin/generate_dockerfile | 4 ++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index d5ee987..3fc67ad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,2 +1,2 @@ -FROM beeceej/lgtm:v0.0.8 -ENTRYPOINT [ "bin/lgtm" ] +FROM beeceej/lgtm:v0.0.9 +ENTRYPOINT [ "/bin/lgtm" ] diff --git a/Makefile b/Makefile index 48d93e0..a469e82 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ USER := beeceej IMAGE := lgtm -VERSION := v0.0.8 +VERSION := v0.0.9 REPOSITORY:= $(USER)/$(IMAGE):$(VERSION) @@ -19,4 +19,8 @@ Dockerfile: clean: rm Dockerfile +git-release: + git tag -a "$(VERSION)" -m "release $(VERSION)" + git push --tags + release: clean build push Dockerfile diff --git a/bin/generate_dockerfile b/bin/generate_dockerfile index 0bb9482..f29b063 100755 --- a/bin/generate_dockerfile +++ b/bin/generate_dockerfile @@ -2,8 +2,8 @@ readonly dockerfile=$(cat < Dockerfile +echo "${dockerfile/VERSION/$version}" > Dockerfile