Merge pull request #1344 from hashicorp/sethvargo/hc-releases

Use hc-releases to upload during dist
This commit is contained in:
James Phillips 2015-10-26 14:43:52 -07:00
commit 2fd3ff815c
1 changed files with 6 additions and 11 deletions

View File

@ -46,15 +46,10 @@ if [ -z $NOSIGN ]; then
fi
popd
# # Upload
# for ARCHIVE in ./pkg/dist/*; do
# ARCHIVE_NAME=$(basename ${ARCHIVE})
# Upload
if [ -z $NORELEASE ]; then
echo "==> Uploading binaries..."
hc-releases -upload=./pkg/dist
fi
# echo Uploading: $ARCHIVE_NAME
# curl \
# -T ${ARCHIVE} \
# -umitchellh:${BINTRAY_API_KEY} \
# "https://api.bintray.com/content/mitchellh/consul/consul/${VERSION}/${ARCHIVE_NAME}"
# done
# exit 0
exit 0