From 5edfa8bfced8ca72a056e3685f51ebe863f866c6 Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Tue, 26 Jul 2016 10:17:52 -0400 Subject: [PATCH] Update to new hc-releases syntax --- scripts/dist.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/dist.sh b/scripts/dist.sh index 0b00b1b50..1e1b2f7b7 100755 --- a/scripts/dist.sh +++ b/scripts/dist.sh @@ -63,7 +63,8 @@ fi # Upload if [ ! -z $HC_RELEASE ]; then - hc-releases upload $DIR/pkg/dist --publish --purge + hc-releases upload $DIR/pkg/dist + hc-releases publish curl -X PURGE https://releases.hashicorp.com/vault/${VERSION} for FILENAME in $(find $DIR/pkg/dist -type f); do