Created
February 26, 2015 10:46
-
-
Save mbrodala/3461993e9612d5ef64d0 to your computer and use it in GitHub Desktop.
Travis after_success deployasaur.us script for automated TER uploads
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ -n "$TRAVIS_TAG" ]; then | |
TAG_ANNOTATION="$(git tag -n -l $TRAVIS_TAG)" | |
TAG_MESSAGE="${TAG_ANNOTATION#* }" | |
echo; | |
echo "Uploading release ${TRAVIS_TAG} to TER" | |
composer install && \ | |
.build/bin/upload . $TYPO3_ORG_USERNAME $TYPO3_ORG_PASSWORD "$TAG_MESSAGE" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See related .travis.yml and composer.json