Update RELEASE documentation to include Debian packaging

This commit is contained in:
Clément Oudot 2013-01-15 11:02:17 +00:00
parent df9d0eb4b1
commit bbcefc0419
1 changed files with 48 additions and 15 deletions

63
RELEASE
View File

@ -11,45 +11,79 @@ The version
* Doxyfile
- Then update packages information with:
# make clean && make cpan
$ make clean && make cpan
- Version must also be updated in RPM and Debian build files
(see related README)
- rpm/lemonldap-ng.spec: update versions and add changelog entry
- debian/changelog: add changelog entry
Before release
--------------
- Update documentation:
# make documentation
$ make documentation
For minor release
-----------------
- Tag the version on SVN from the branch:
# svn cp branches/lemonldap-ng_version_VERSION-bugfixes tags/lemonldap-ng_version_VERSION
$ svn cp branches/lemonldap-ng_version_VERSION-bugfixes tags/lemonldap-ng_version_VERSION
For major release
-----------------
- Create a branch on SVN from the trunk:
# svn cp trunk branches/lemonldap-ng_version_VERSION-bugfixes
$ svn cp trunk branches/lemonldap-ng_version_VERSION-bugfixes
The distribution
----------------
- Tag the version on SVN from the branch:
$ svn cp branches/lemonldap-ng_version_VERSION-bugfixes tags/lemonldap-ng_version_VERSION
Make the distribution
---------------------
- CPAN packages:
# make clean && make cpan
Upload created archives in the CPAN directory
$ make clean && make cpan
- Tarball:
# make clean && make dist
$ make clean && make dist
Upload dist on OW2 forge
- RedHat packaging: see rpm/README
- RedHat/Debian packaging: see related README
- Debian packaging:
Note: official packages build is now hosted on https://github.com/guimard/LemonLDAP--NG-Debian-packaging
Upload bundle on OW2 Forge, and on LL::NG repository
Untar the archive and launch:
$ make debian-packages
Packages are in /tmp
Sign packages:
$ dpkg-sig -p --sign builder /tmp/*.deb
Upload the distribution
---------------------
- 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'
Site
----
@ -67,4 +101,3 @@ Spread the word
- User mailing list
- Optional: blogs and news sites (LinuxFR, etc.)