mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-02-24 02:01:03 -05:00
Use hc-releases
This commit is contained in:
@@ -36,14 +36,6 @@ shasum -a256 * > ./terraform_${VERSION}_SHA256SUMS
|
||||
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/terraform/terraform/${VERSION}/${ARCHIVE_NAME}"
|
||||
done
|
||||
hc-releases -upload=./pkg/dist
|
||||
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user