Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/bin/bash
BRANCH="${bamboo.repository.branch.name}"
case $BRANCH in
master|develop|release/*)
echo "PUBLISH"
exec ./scripts/publish.sh
;;
*)
echo "VERIFY"
exec ./scripts/verify.sh
esac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment