Update to new hc-releases syntax

This commit is contained in:
Jeff Mitchell
2016-07-04 19:44:38 -04:00
parent f665f23b3d
commit 829563372d

View File

@@ -63,7 +63,7 @@ fi
# Upload
if [ ! -z $HC_RELEASE ]; then
hc-releases -upload $DIR/pkg/dist --publish --purge
hc-releases upload $DIR/pkg/dist --publish --purge
curl -X PURGE https://releases.hashicorp.com/vault/${VERSION}
for FILENAME in $(find $DIR/pkg/dist -type f); do