updates for RELEASING

This commit is contained in:
Clint Shryock 2015-07-20 16:19:41 -05:00
parent 7110364298
commit ed12f7cbb5
1 changed files with 5 additions and 1 deletions

View File

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