This repository has been archived by the owner on Nov 10, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 117
Build Process
mykmelez edited this page Apr 26, 2013
·
21 revisions
On development machine:
git checkout -b release-3.0pre6 master
# update version in addon/package.json
git commit -m"update version for 3.0pre6 build" addon/package.json
git push --set-upstream origin release-3.0pre6
On each build machine:
git clone git://github.com/mykmelez/r2d2b2g.git
cd r2d2b2g
git checkout release-3.0pre6
git submodule init
git submodule update
LOCALES_FILE=${PWD}/build/languages.json make locales
LOCALES_FILE=${PWD}/build/languages.json make
# On Linux 32, also do:
#B2G_PLATFORM=linux64 LOCALES_FILE=${PWD}/build/languages.json make
make package
mv addon/r2d2b2g.xpi addon/r2d2b2g-3.0pre6-mac.xpi
scp addon/r2d2b2g-3.0pre6-mac.xpi stage.mozilla.org:/pub/mozilla.org/labs/r2d2b2g/
mv addon/r2d2b2g.xpi addon/r2d2b2g-3.0pre6-windows.xpi
scp addon/r2d2b2g-3.0pre6-windows.xpi stage.mozilla.org:/pub/mozilla.org/labs/r2d2b2g/
mv addon/r2d2b2g.xpi addon/r2d2b2g-3.0pre6-linux.xpi
scp addon/r2d2b2g-3.0pre6-linux.xpi stage.mozilla.org:/pub/mozilla.org/labs/r2d2b2g/
On stage server:
cd /pub/mozilla.org/labs/r2d2b2g/
rm r2d2b2g-windows.xpi && ln -s r2d2b2g-3.0pre6-windows.xpi r2d2b2g-windows.xpi ; rm r2d2b2g-mac.xpi && ln -s r2d2b2g-3.0pre6-mac.xpi r2d2b2g-mac.xpi ; rm r2d2b2g-linux.xpi && ln -s r2d2b2g-3.0pre6-linux.xpi r2d2b2g-linux.xpi
On development machine:
git tag 3.0pre6
# update version in addon/package.json
git commit -m"update version for 3.0pre7dev development" addon/package.json
git push
git checkout master
git merge release-3.0pre6
git push --tags origin master
git push --tags upstream master
git branch -d release-3.0pre6
git push origin :release-3.0pre6
On each build machine:
cd ..
rm -rf r2d2b2g