Skip to content

Commit

Permalink
Fix travis releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
hlandau committed Dec 5, 2015
1 parent ee3a66c commit fde07ac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis/after_success
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@ fi

# Make archives.
echo Archiving releases...
ACME_DIR="$(pwd)"
cd "$GOPATH/releasing/idist"
for x in *; do
echo "$x"
cp $GOPATH/src/github.com/hlandau/acme/.travis/dist-readme.md "$x"/README.md
tar -zcf "../dist/$(basename "$x").tar.gz" "$x"
done
cd ..
# Must be in the right directory when calling ghr.
cd "$ACME_DIR"

echo Uploading releases...
ghr -u hlandau "$TRAVIS_TAG" "$GOPATH/releasing/dist/"
Expand Down

0 comments on commit fde07ac

Please sign in to comment.