From 3a62464f92965a6ab7d796261390602536f10b6c Mon Sep 17 00:00:00 2001 From: Andrew Suderman Date: Fri, 20 Aug 2021 10:05:21 -0600 Subject: [PATCH] Setup pluto for prerelease. Use bash in relesae (#193) --- .circleci/config.yml | 1 + .goreleaser.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 59301f4e..9bb402b6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -75,6 +75,7 @@ jobs: release: working_directory: /go/src/github.com/fairwindsops/pluto resource_class: large + shell: /bin/bash docker: - image: goreleaser/goreleaser:v0.174.2 environment: diff --git a/.goreleaser.yml b/.goreleaser.yml index 8cf100de..e36aa667 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -8,6 +8,8 @@ brews: description: Detect deprecated Kubernetes apiVersions test: | system "#{bin}/pluto version" +release: + prerelease: auto builds: - ldflags: - -X main.version={{.Version}} -X main.commit={{.Commit}} -s -w