Fix mfpub syntax highlighting
This commit is contained in:
parent
d3d6be8210
commit
afdd4803f8
@ -24,14 +24,14 @@ if [[ $ORG != "MarlinFirmware" || $REPO != "MarlinDocumentation" ]]; then
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check out the named branch (or stay in current)
|
|
||||||
git checkout $BRANCH
|
|
||||||
|
|
||||||
if [[ $BRANCH == "gh-pages" ]]; then
|
if [[ $BRANCH == "gh-pages" ]]; then
|
||||||
echo "Can't build from 'gh-pages.' Only the Jekyll branches (based on 'master')."
|
echo "Can't build from 'gh-pages.' Only the Jekyll branches (based on 'master')."
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Check out the named branch (or stay in current)
|
||||||
|
git checkout $BRANCH
|
||||||
|
|
||||||
echo "Stashing any changes to files..."
|
echo "Stashing any changes to files..."
|
||||||
echo "Don't forget to update and push 'master'!"
|
echo "Don't forget to update and push 'master'!"
|
||||||
# GOJF Card
|
# GOJF Card
|
||||||
@ -69,7 +69,7 @@ if [[ $BRANCH == "master" ]]; then
|
|||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
if [ -z "$(git branch -vv | grep ^\* | grep \\[origin)" ]; then
|
if [ -z "$(git branch -vv | grep ^\* | grep \\\[origin)" ]; then
|
||||||
firstpush
|
firstpush
|
||||||
else
|
else
|
||||||
echo
|
echo
|
||||||
|
Loading…
Reference in New Issue
Block a user