From d5167db4e011dac00160e97275d8674c7bfea09c Mon Sep 17 00:00:00 2001 From: lord-skinner Date: Sat, 21 Dec 2024 14:57:08 -0600 Subject: [PATCH] updating make file to streamline releasing --- Makefile | 7 +++++++ version/version.go | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cf814c9..dc5f3ae 100644 --- a/Makefile +++ b/Makefile @@ -31,3 +31,10 @@ install: fi @echo "Installation successful." @echo "Ensure you run '$(PROGRAM_NAME)' from the root of your dbt project." + +release: + @echo "Releasing $(PROGRAM_NAME)..." + @version=$(shell grep 'Version =' ./version/version.go | awk '{print $$NF}' | tr -d '"') && \ + git tag -a $$version -m "Release $$version" && \ + git push origin main --follow-tags + @echo "Release successful." \ No newline at end of file diff --git a/version/version.go b/version/version.go index c99c493..d2b0745 100644 --- a/version/version.go +++ b/version/version.go @@ -1,3 +1,3 @@ package version -const Version = "v0.0.5" +const Version = "v0.0.6"