Make build.sh reset autocrlf to original value afterwards.
[htmlpurifier-web.git] / release.txt
blobe9da1b7321906a83c0a6b005b9d06016081b04b4
1 In order to perform a release, a few steps have to be taken:
2 [@] = Automated
3 [ ] = Should be automated
5 == Pre-Procedures ==
7 [Prepare codebase for release]
8 # [@] Run tests/multitest.php, fix any errors
9 # [@] Run `php release1-update.php $VERSION` (bumps version numbers)
10     # [if necessary] Bump version numbers in TODO
11     # Write new WHATSNEW and FOCUS entry
12     # Commit as "Release x.y.z." and push
13 # [ ] Tag and push the release 
14     . `git tag -u 0x869C48DA vx.y.z` (0x869C48DA is Edward's master private key; 
15   substitute with your own if you're making a release.)
16     . `git push --tags`
17 # [@] `build-all.bat` in releases: Build the zip and tar.gz
18 # [ ] Upload files
20  ( Should get some sort of repos that contains just the pristine tarballs/zips??? )
22 # [ ] Build the PEAR release
23     - php package.php
24     - cd library
25     - pear package
26     NOTE: If you need to setup the PEAR environment, setup PEAR first, then:
27         pear install PEAR_PackageFileManager
28         pear channel-discover htmlpurifier.org
29 # [@] Run sum-all.bat (generates sha1 checksums)
30 # [@] Run sign-all.bat, enter password when prompted (signs releases)
31 # Update the webpages:
32     - news.xhtml
33        . Write a news entry describing the release (see WHATSNEW)
34     - current.ent
35        . Bump version number and date
36     - Update submodule live/
37         cd live
38         git fetch
39         git checkout vx.y.z
40     - Update .htaccess.in
41     - Full-disclosure for security problems in previous release
42 # Commit and push and mirror.sh
44 == Post-procedures ==
46 ( SVN compatibility; this is still in the air )
47 # svn import a clean Git checkout of the tag with the .git directory removed
48   to svn+ssh://ezyang@htmlpurifier.org/svnroot/htmlpurifier/tags/1.2.3
49   (even better s/htmlpurifier.org/SVN.HTMLPurifier/ if you have the appropriate
50   PuTTY session registered) (NOT TESTED!)
52 # [ ] Regenerate API documentation
53     - Run the compile_*.bat scripts (takes a while)
54     - Archive them into tars
55     - Upload to server
56     - Reload documents with ./reload-docs.sh
57 # Smoketest release by downloading packages, verify contents list, sha1 and sig
58 # Upload PEAR release at http://htmlpurifier.org/pear-server.php
59 # Regenerate configuration documentation
60     - Run http://htmlpurifier.org/live/configdoc/generate.php
61 # Update relevant feeder sites/lists
62     - [@] Run Freshmeat script update-freshmeat.bat (update-freshmeat.php username password)
63     - Announce mailing list <https://panel.dreamhost.com/?tree=mail.list&current_step=Index&next_step=ShowSend&address=admin&domain=htmlpurifier.org>
64         . Change version number in subject field
65         . Use: news item on webpage (add link to webpage as HTML Purifier),
66           download links (substitute in htmlpurifier.org), sha-1 sums.
67         . Sign using `gpg -u 0x869C48DA --clearsign filename` then move *.txt.asc over *.txt original
68     - Hotscripts listing <http://www.hotscripts.com/account/index.html?section=listings&type=edit&listing_id=65309>
69         . Step 1-3: No changes
70         . Step 4: Bump version number in two fields
71 # Add new version items in NEWS for trunk