Skip to content

Commit

Permalink
fix(presubmit): uses proper branch instead of hard coded
Browse files Browse the repository at this point in the history
Closes #3552
  • Loading branch information
mhevery committed Aug 9, 2015
1 parent 4038150 commit 96e34c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ci/presubmit-queue-success.sh
Expand Up @@ -24,7 +24,7 @@ if [ "$TRAVIS_REPO_SLUG" = "angular/angular" ]; then
git rebase upstream/master

if [[ $TRAVIS_BRANCH == *"-pr-"* ]]; then
PR_NO=`echo presubmit-mhevery-pr-1234 | sed -e 's/^.*-pr-//'`
PR_NO=`echo $TRAVIS_BRANCH | sed -e 's/^.*-pr-//'`
if echo $PR_NO | egrep -q '^[0-9]+$'; then
echo "Adding Closes #$PR_NO"
git filter-branch -f --msg-filter "cat /dev/stdin && echo && echo Closes \#$PR_NO" HEAD~1..HEAD
Expand Down

0 comments on commit 96e34c1

Please sign in to comment.