-
Notifications
You must be signed in to change notification settings - Fork 88
Creating a release
Garvin Hicking edited this page Aug 16, 2018
·
19 revisions
- Edit
serendipity_config.inc.php
to adjust$serendipity['version’]
- Update
docs/NEWS
adding release date - (Deprecated, but for now) Log in to SF.Net, create a new release directory, e.g. "2.1.3"
- Execute release packaging script:
# Check out GITHUB code
cd git/2.1/Serendipity
git pull
git archive --output release.tar --prefix serendipity/ 2.1
mv release.tar ../../../
# Remove probably existig files
cd ../../../
rm -rf serendipity
tar -xvf release.tar
rm serendipity-2.1.3.tar.gz
rm serendipity-2.1.2.zip
cd serendipity/bundled-libs
# Execute s9y release script
./create_release.sh serendipity-2.1.2.tar.gz serendipity nobody nogroup
cd ../../
zip -9 -r serendipity-2.1.2.zip serendipity
tar --owner=nobody --group=nogroup -cjf "serendipity-2.1.2.tar.bz2" serendipity
# DEPRECATED for now, Transmit release files to SourceForge
scp serendipity/docs/NEWS [email protected]:/home/frs/project/p/ph/php-blog/serendipity/2.1.2/README
scp serendipity/docs/NEWS [email protected]:/home/frs/project/p/ph/php-blog/serendipity/README
scp serendipity/docs/NEWS [email protected]:/home/frs/project/p/ph/php-blog/README
scp serendipity-2.1.2* [email protected]:/home/frs/project/p/ph/php-blog/serendipity/2.1.2/
* Login to SF.Net again, make the new release the default
# Create MD5 Checksums [use for copy & paste]
md5sum serendipity-2.1.2.zip
- Change docs/RELEASE file in master and 2.1 branch to point to new release, commit.
- Create a github tag for the release, remember to put "(MD5: ...)" in the plain text body:
git tag 2.1.2
git push origin --tags
- Upload created release file to github.com
- Increment version number to 2.1.3-beta1 in serendipity_config.inc.php
- Edit www.s9y.org download section, add MD5 checksums, update latest release recommendation
- Edit s9y.github.io repository files: _includes/showcase.html (button) and downloads.md.
- On www.s9y.org edit .htaccess to make the rewriterule latest point to the latest release.
- Update blog.s9y.org to latest version
- Write a blog.s9y.org release announcement, make sidebar point to latest release
- Write a board.s9y.org release announcement, point to blog posting