Browse Source

Use hc-releases to upload during dist

pull/1344/head
Seth Vargo 9 years ago
parent
commit
62c09b0fbf
  1. 19
      scripts/dist.sh

19
scripts/dist.sh

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

Loading…
Cancel
Save