update some scripts

This commit is contained in:
Mitchell Hashimoto 2015-12-21 12:11:42 -08:00
parent 397e192a8f
commit 31a46509f9
2 changed files with 1 additions and 18 deletions

View File

@ -16,12 +16,6 @@ if [ -z $VERSION ]; then
exit 1
fi
# Make sure we have a bintray API key
if [ -z $BINTRAY_API_KEY ]; then
echo "Please set your bintray API key in the BINTRAY_API_KEY env var."
exit 1
fi
# Make the checksums
pushd ./pkg/dist
shasum -a256 * > ./vagrant_${VERSION}_SHA256SUMS
@ -30,14 +24,3 @@ if [ -z $NOSIGN ]; then
gpg --default-key 348FFC4C --detach-sig ./vagrant_${VERSION}_SHA256SUMS
fi
popd
# Upload
for ARCHIVE in ./dist/*; do
ARCHIVE_NAME=$(basename ${ARCHIVE})
echo Uploading: $ARCHIVE_NAME
curl \
-T ${ARCHIVE} \
-umitchellh:${BINTRAY_API_KEY} \
"https://api.bintray.com/content/mitchellh/vagrant/vagrant/${VERSION}/${ARCHIVE_NAME}"
done

View File

@ -4,7 +4,7 @@ helpers MiddlemanHashiCorpHelpers
page "/blog_feed.xml", layout: false
# The version of Vagrant - update this to update the downloads page
set :latest_version, '1.7.4'
set :latest_version, '1.8.0'
set :css_dir, 'stylesheets'
set :js_dir, 'javascripts'