source: SMSSender/deploy/howto.txt @ 481:efc2f737de62

tip
Last change on this file since 481:efc2f737de62 was 481:efc2f737de62, checked in by Sämy Zehnder <saemy.zehnder@…>, 6 years ago

Updates the deployment howto.

File size: 2.3 KB
Line 
1
20. Check the version in smssender.pri (Move from alphaX to release).
31. Run lupdate smssender.pro and translate the whole project.
42. Create a tag in hg (the same name as the bookmark/version).
5    hg tag -r 3.2 3.2
63. Adjust the bookmark(s)
7    a) Major or minor release (say the one to release is 3.2):
8        hg bookmark --rename 3.2 3.3
9        hg bookmark -r 3.2 3.2.1
10        check that the bookmarks are at the tip.
11        hg up 3.3
12        Adjust version in smssender.pri to 3.3.0~alpha0.
13        hg commit -m "Increases version number." smssender.pri
14
15    b) Bugfix release (say the one to release is 3.2.1)
16        hg tag -r 3.2.1 3.2.1
17        hg bookmark --rename 3.2.1 3.2.2
18
193. hg up [tag] for each os.
204. OS dependent deployment (see below).
215. merge the distribution branches into the bugfix branch (3.2.1).
22    "* Merges the [xxx] deployment branch back in."
236. merge the bugfix branch into the new release branch (3.3).
24
25
26Ubuntu:
27    (Documentation: http://www.debian.org/doc/debian-policy/)
28
29    * Switch to ~/Development/smssender (do not use the shared directory!)
30    * Copy the changed deployment files from the shared directory (if needed).
31
32    * Run the deploy script ./deploy/ubuntu/deploy [revision]
33    * cd into the smssender directory.
34    * Create new changelog entry: dch -i
35        Version strings: 3.1~alphaX
36        Version comparision: `dpkg --compare-versions 3.1~alpha1 '<<' 3.1 && echo yes || echo no`
37    * Create uploadable file with debuild -S
38    * Upload it with: dput smssender XXX_source.changes
39
40    * To completely simulate the build process as on launchpad use pbuilder.
41
42Arch:
43    * Wait until ubuntu ppa build is done.
44    * Adjust version in PKGBUILD.
45    * When doing bigger changes in PKGBUILD, check it with: namcap PKGBUILD
46    * Test it with: makepkg -c
47    * Create upload archive: makepkg -c --source
48    * Upload it to the AUR page: https://aur.archlinux.org/submit/ (Category: network)
49    * Remove unneeded archives.
50
51MAC:
52    * make -f deploy/macos/Makefile clean dmg
53
54   
55WIN:
56        * ensure that all required libraries are installed according to the toolchain setup.
57    * Open MSYS
58        * cd /c/Development/smssender-build
59        * qmake ../smssender/smssender.pro -spec win32-g++ -r "CONFIG+=release build-frontend-gui"
60    * make
61    * Change version in the nsis setup file.
62    * Update the changelog.
63    * Run the nsis compiler.
Note: See TracBrowser for help on using the repository browser.