mirror of
https://github.com/status-im/consul.git
synced 2025-01-12 06:44:41 +00:00
Merge pull request #1344 from hashicorp/sethvargo/hc-releases
Use hc-releases to upload during dist
This commit is contained in:
commit
dca2d84b17
@ -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
|
||||||
|
fi
|
||||||
|
|
||||||
# echo Uploading: $ARCHIVE_NAME
|
exit 0
|
||||||
# curl \
|
|
||||||
# -T ${ARCHIVE} \
|
|
||||||
# -umitchellh:${BINTRAY_API_KEY} \
|
|
||||||
# "https://api.bintray.com/content/mitchellh/consul/consul/${VERSION}/${ARCHIVE_NAME}"
|
|
||||||
# done
|
|
||||||
|
|
||||||
# exit 0
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user