File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121
2222if [ -n " $1 " ]; then
2323 if [ " $1 " = today ] ; then
24- date +%Y.%m.%d | sed s/ \\ .0/./g > chromium/chrome-version.txt
24+ python chromium/setversion.py
2525 else
2626 BRANCH=` git branch | head -n 1 | cut -d \ -f 2-`
2727 SUBDIR=checkout
@@ -55,7 +55,14 @@ sed -e "s/VERSION/$VERSION/g" chromium/updates-master.xml > chromium/updates.xml
5555[ -d pkg ] || mkdir -p pkg
5656[ -e pkg/crx ] && rm -rf pkg/crx
5757cp -r chromium pkg/crx
58+ cd pkg/crx
59+ do_not_ship=" *.py *.xml"
60+ rm -f $do_not_ship
61+ cd ../..
5862cp -r src/chrome/content/rules pkg/crx/
63+ # TODO: switch the chrome version over to using default.rulesets too
64+ # For now, don't ship it!
65+ [ -f pkg/crx/rules/default.rulesets ] && rm -f pkg/crx/rules/default.rulesets
5966echo ' var rule_list = [' > pkg/crx/rule_list.js
6067for i in $( ls pkg/crx/rules/* .xml)
6168do
You can’t perform that action at this time.
0 commit comments