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