Skip to content

Instantly share code, notes, and snippets.

@mbrodala
Created February 26, 2015 10:46
Show Gist options
  • Save mbrodala/3461993e9612d5ef64d0 to your computer and use it in GitHub Desktop.
Save mbrodala/3461993e9612d5ef64d0 to your computer and use it in GitHub Desktop.
Travis after_success deployasaur.us script for automated TER uploads
#!/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
@mbrodala
Copy link
Author

See related .travis.yml and composer.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment