From 8aef64f493e0608ea4f5d8f3c07f1fa621173067 Mon Sep 17 00:00:00 2001 From: David Mattia <8922077+dmattia@users.noreply.github.com> Date: Mon, 28 Sep 2020 13:52:16 -0500 Subject: [PATCH] Allow using hardcoded version as default (#64) Co-authored-by: dmattia --- Makefile | 2 +- README.md | 2 +- main.go | 7 ++++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index fb8e64c6..dc9cae2c 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION=0.9.0 +VERSION=0.9.1 PATH_BUILD=build/ FILE_COMMAND=terragrunt-atlantis-config FILE_ARCH=darwin_amd64 diff --git a/README.md b/README.md index c320d239..7914a8cf 100644 --- a/README.md +++ b/README.md @@ -154,7 +154,7 @@ jobs: id: atlantis_validator uses: transcend-io/terragrunt-atlantis-config-github-action@v0.0.3 with: - version: v0.9.0 + version: v0.9.1 extra_args: '--autoplan --parallel=false ``` diff --git a/main.go b/main.go index 2cf7a497..446d77cc 100644 --- a/main.go +++ b/main.go @@ -2,9 +2,10 @@ package main import "github.com/transcend-io/terragrunt-atlantis-config/cmd" -// This variable is set at build time using -ldflags parameters. For more info, see: -// http://stackoverflow.com/a/11355611/483528 -var VERSION string +// This variable is set at build time using -ldflags parameters. +// But we still set a default here for those using plain `go get` downloads +// For more info, see: http://stackoverflow.com/a/11355611/483528 +var VERSION string = "0.9.1" func main() { cmd.Execute(VERSION)