update-oojs-ui.sh: Exclude the minimised distribution files
authorJames D. Forrester <jforrester@wikimedia.org>
Mon, 22 Sep 2014 02:13:32 +0000 (19:13 -0700)
committerJames D. Forrester <jforrester@wikimedia.org>
Mon, 22 Sep 2014 02:13:32 +0000 (19:13 -0700)
Introduced by Ic8f8194. Also removing unneeded exclusion of non-existant
unthemed CSS file after Ieb27c3fd.

Change-Id: Ib0293695764ac32b8aac3be7c4f37b72cbd72561

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)