Created
January 19, 2016 22:48
-
-
Save MaksimAbramchuk/e24b3a601fd82e594b3e to your computer and use it in GitHub Desktop.
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
export GITHUB_ACCESS_TOKEN=<your_github_access_token> | |
export PULL_REQUEST_URL=${CI_PULL_REQUEST} | |
export PULL_REQUEST_ID=`echo $PULL_REQUEST_URL | grep -o -E ‘[0–9]+$’ | head -1 | sed -e ‘s/^0\+//’` | |
((bin/bundle exec pronto run -f github_pr -c origin/master)) || true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
FYI you pass smart quotes to sed that sed does not like in Circle's default environment. Also I am running into trouble with the double set of parens at line 4 - my personal zsh and bash in circle do not like them.