Skip to content

Commit

Permalink
fix 'master' branch test for create_source_tarball.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
boegel committed Apr 14, 2020
1 parent 3575e15 commit fee97b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/doc_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,11 @@ jobs:
cd ${{matrix.repo}}
# script should make sure we're on master branch
git checkout develop
git checkout develop > /dev/null
($GITHUB_WORKSPACE/scripts/create_source_tarball.sh ${{matrix.repo}} $version 2>&1 | tee $out) || true
grep "develop ERROR: Not on master branch!" $out
grep "develop ERROR: Not on master branch" $out
echo "Expected error found in output: OK!"
git checkout master
git checkout master > /dev/null
echo "================================================================================================"
Expand Down

0 comments on commit fee97b3

Please sign in to comment.