Skip to content
Permalink
Browse files

Update deploy script to only push 'master' JS with 'master' JS commit

  • Loading branch information
datitisev committed Jan 11, 2020
1 parent a4b736e commit 3d85609386c47022df5215a84f55e63405651a73
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/deploy.sh
@@ -64,7 +64,7 @@ messageRewrite="update ds/frontend-framework-rewrite-mithril (flarum/core@$SHA_R

if [[ "$(git diff --name-only docs/js/master | wc -l | bc)" -gt "1" ]]; then
echo -e "\e[36m\e[1m- JS"
git add docs/js
git add docs/js/master
git commit -m "js: $message"
fi

@@ -76,7 +76,7 @@ fi

if [[ "$(git diff --name-only docs/js/ds~frontend-framework-rewrite-mithril | wc -l | bc)" -gt "1" ]]; then
echo -e "\e[36m\e[1m- JS [ds/frontend-framework-rewrite-mithril]"
git add docs/js
git add docs/js/ds~frontend-framework-rewrite-mithril
git commit -m "js: $messageRewrite"
fi

0 comments on commit 3d85609

Please sign in to comment.
You can’t perform that action at this time.