diff --git a/.goreleaser.yaml b/.goreleaser.yaml index d38ad08..40d0c97 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,4 +1,6 @@ # Make sure to check the documentation at https://goreleaser.com +env: + - SNAPSHOT={{ if index .Env "SNAPSHOT" }}{{ .Env.SNAPSHOT }}{{ else }}false{{ end }} before: hooks: - go mod tidy