Merge "update-oojs-ui.sh: Exclude the minimised distribution files"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Sat, 4 Oct 2014 01:23:34 +0000 (01:23 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sat, 4 Oct 2014 01:23:34 +0000 (01:23 +0000)
maintenance/resources/update-oojs-ui.sh

index 1b35292..651f211 100755 (executable)
@@ -71,8 +71,8 @@ NEWCHANGES=$(git log $OLDHASH.. --oneline --no-merges --reverse --color=never)
 NEWCHANGESDISPLAY=$(git log $OLDHASH.. --oneline --no-merges --reverse --color=always)
 
 # Copy files
-# - Exclude the default non-svg stylesheet
-rsync --recursive --delete --force --exclude 'oojs-ui.css' --exclude 'oojs-ui*.rtl.css' ./dist/ "$TARGET_REPO/$TARGET_DIR" || exit 1
+# - Exclude the minimised distribution files and RTL sheets for non-CSSJanus environments
+rsync --recursive --delete --force --exclude 'oojs-ui*.min.*' --exclude 'oojs-ui*.rtl.css' ./dist/ "$TARGET_REPO/$TARGET_DIR" || exit 1
 
 # Read the new version
 NEWVERSION=$(oojsuiversion)