Merge pull request #2798 from hashicorp/releasing-update

updates for RELEASING
This commit is contained in:
Clint 2015-07-29 10:42:23 -05:00
commit 2e787cffc9
1 changed files with 5 additions and 1 deletions

View File

@ -51,9 +51,13 @@ git tag -m "${VERSION}" "${VERSION}"
# Build the release
make release
# Add Godeps for the archive
git add Godeps
# Make an archive with vendored dependencies
stashName=$(git stash)
stashName=$(git stash create)
git archive -o terraform-$VERSION-src.tar.gz $stashName
git reset --hard ${VERSION}
# Zip and push release to bintray
export BINTRAY_API_KEY="..."