Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time
executable file 11 lines (8 sloc) 368 Bytes
# Publish a new Particle library version when a tagged build passes
# Nothing to do if no tag
[ -z $TRAVIS_TAG ] && exit
# Check if the tag matches the library version
[ -z $(grep -e "^version=$TRAVIS_TAG$" ] && echo " is not at version $TRAVIS_TAG" && exit 1
# Publish
particle --no-update-check library publish