Update to new hc-releases syntax

This commit is contained in:
Jeff Mitchell 2016-07-26 10:17:52 -04:00
parent 6e63af6ad0
commit 5edfa8bfce
1 changed files with 2 additions and 1 deletions

View File

@ -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