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
popd
# # Upload
# for ARCHIVE in ./pkg/dist/*; do
# ARCHIVE_NAME=$(basename ${ARCHIVE})
# 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
# Upload
if [ -z $NORELEASE ]; then
echo "==> Uploading binaries..."
hc-releases -upload=./pkg/dist
fi
exit 0

Loading…
Cancel
Save