lemonldap-ng/RELEASE

104 lines
2.4 KiB
Plaintext
Raw Normal View History

2011-03-07 10:25:52 +01:00
How to build a release for LemonLDAP::NG
========================================
The version
-----------
- The release version should be updated in the following location:
2011-10-07 14:23:15 +02:00
* changelog (add a changelog from JIRA for the target version)
2011-03-07 10:25:52 +01:00
* Main modules (Common.pm/Handler.pm/Portal.pm/Manager.pm)
* Makefile.PL for cross-dependencies
2011-05-23 14:36:45 +02:00
* Doxyfile
2011-03-07 10:25:52 +01:00
- Then update packages information with:
$ make clean && make cpan
2011-03-07 10:25:52 +01:00
- Version must also be updated in RPM and Debian build files
- rpm/lemonldap-ng.spec: update versions and add changelog entry
- debian/changelog: add changelog entry
2011-03-07 10:25:52 +01:00
Before release
--------------
- Update documentation:
$ make documentation
2011-03-23 15:54:14 +01:00
For minor release
-----------------
2012-06-18 11:38:37 +02:00
- Tag the version on SVN from the branch:
$ svn cp branches/lemonldap-ng_version_VERSION-bugfixes tags/lemonldap-ng_version_VERSION
For major release
-----------------
2012-06-18 11:38:37 +02:00
- Create a branch on SVN from the trunk:
$ svn cp trunk branches/lemonldap-ng_version_VERSION-bugfixes
2011-03-07 10:25:52 +01:00
- Tag the version on SVN from the branch:
$ svn cp branches/lemonldap-ng_version_VERSION-bugfixes tags/lemonldap-ng_version_VERSION
2011-03-07 10:25:52 +01:00
Make the distribution
---------------------
2011-03-07 10:25:52 +01:00
- CPAN packages:
$ make clean && make cpan
2011-03-07 10:25:52 +01:00
- Tarball:
$ make clean && make dist
- RedHat packaging: see rpm/README
- Debian packaging:
Note: official packages build is now hosted on https://github.com/guimard/LemonLDAP--NG-Debian-packaging
Untar the archive and launch:
$ make debian-packages
Packages are in /tmp
Sign packages:
$ dpkg-sig -p --sign builder /tmp/*.deb
2011-03-07 10:25:52 +01:00
Upload the distribution
---------------------
2011-03-07 10:25:52 +01:00
- CPAN:
Upload modules tarballs (generated by make cpan)
- OW2 Forge:
Upload dist and bundles
- RPM: see rpm/REDAME
- DEB:
The DEB repository is hosted on http://lemonldap-ng.org/deb
Copy all generated files (*.deb, *.dsc, *.changes, ...):
$ scp *.deb *.dsc *.changes *.debian.tar.gz *.orig.tar.gz lemonldapng@lemonldap-ng.org:incoming/
Then connect on the server and launch reprepro:
$ ssh lemonldapng@lemonldap-ng.org
lemonldapng@lemonldap-ng.org$ cd deb/
lemonldapng@lemonldap-ng.org$ reprepro --ask-passphrase -Vb . include squeeze ../incoming/lemonldap-ng_VERSION_i386.changes
See also reprepro configuration file: 'distributions'
2011-03-07 10:25:52 +01:00
Site
----
- Update links on the download page
- Close the version on JIRA and create a new one
Spread the word
---------------
- News on OW2 forge
- Twitter account
- Freshmeat
- IRC channel subject
- User mailing list
- Optional: blogs and news sites (LinuxFR, etc.)