From f96b606d387edce010488e0f0dd38e18f31607f7 Mon Sep 17 00:00:00 2001 From: Edward Wilde <ewilde@gmail.com> Date: Thu, 16 Nov 2017 19:15:48 +0000 Subject: [PATCH] Remove files from release zip --- goreleaser.yml | 5 ++++- scripts/goreleaser-post.sh | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100755 scripts/goreleaser-post.sh diff --git a/goreleaser.yml b/goreleaser.yml index 8dda029..1834a59 100644 --- a/goreleaser.yml +++ b/goreleaser.yml @@ -6,5 +6,8 @@ builds: - windows goarch: - amd64 + hooks: + post: ./scripts/goreleaser-post.sh archive: - format: zip \ No newline at end of file + format: zip + files: \ No newline at end of file diff --git a/scripts/goreleaser-post.sh b/scripts/goreleaser-post.sh new file mode 100755 index 0000000..f13d1f6 --- /dev/null +++ b/scripts/goreleaser-post.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash +set -ex +find dist/ -name terraform-provider-runscope | xargs chmod +x \ No newline at end of file