diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0efee6ec..12de1fee 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,8 +41,8 @@ jobs: - name: Create checksums run: | readonly BUILD_DIR="build/${{ steps.get_version.outputs.VERSION }}" - find "$BUILD_DIR" -type f -exec sha256sum {} + | awk '{sub(/^'"$BUILD_DIR"'\//, ""); print $1, $2}' > SHA256SUMS - find "$BUILD_DIR" -type f -exec sha512sum {} + | awk '{sub(/^'"$BUILD_DIR"'\//, ""); print $1, $2}' > SHA512SUMS + find "$BUILD_DIR" -type f -exec sha256sum {} + | awk -v build_dir="$BUILD_DIR" '{sub("^"build_dir"/", ""); print $1, $2}' > SHA256SUMS + find "$BUILD_DIR" -type f -exec sha512sum {} + | awk -v build_dir="$BUILD_DIR" '{sub("^"build_dir"/", ""); print $1, $2}' > SHA512SUMS # Create the release - uses: "marvinpinto/action-automatic-releases@latest" diff --git a/Makefile b/Makefile index eb6f1076..c80a07f7 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION=1.17.1 +VERSION=1.17.2 PATH_BUILD=build/ FILE_COMMAND=terragrunt-atlantis-config FILE_ARCH=darwin_amd64 diff --git a/README.md b/README.md index 031f4f31..d6b37b9a 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ Then, make sure `terragrunt-atlantis-config` is present on your Atlantis server. ```hcl variable "terragrunt_atlantis_config_version" { - default = "1.17.1" + default = "1.17.2" } build { @@ -191,7 +191,7 @@ You can install this tool locally to checkout what kinds of config it will gener Recommended: Install any version via go install: ```bash -go install github.com/transcend-io/terragrunt-atlantis-config@v1.17.1 +go install github.com/transcend-io/terragrunt-atlantis-config@v1.17.2 ``` This module officially supports golang versions v1.13, v1.14, v1.15, and v1.16, tested on CircleCI with each build diff --git a/main.go b/main.go index 879b2b09..db993b2d 100644 --- a/main.go +++ b/main.go @@ -5,7 +5,7 @@ import "github.com/transcend-io/terragrunt-atlantis-config/cmd" // 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 = "1.17.1" +var VERSION string = "1.17.2" func main() { cmd.Execute(VERSION)