Skip to content

Instantly share code, notes, and snippets.

@ericanderson
Created December 12, 2013 15:48
Show Gist options
  • Save ericanderson/7930123 to your computer and use it in GitHub Desktop.
Save ericanderson/7930123 to your computer and use it in GitHub Desktop.
#!/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