RELEASE 2.43 KB
Newer Older
1 2 3 4 5 6 7
How to build a release for LemonLDAP::NG
========================================

The version
-----------

- The release version should be updated in the following location:
8
* changelog (add a changelog from JIRA for the target version)
9 10
* Main modules (Common.pm/Handler.pm/Portal.pm/Manager.pm)
* Makefile.PL for cross-dependencies
Clément OUDOT's avatar
Clément OUDOT committed
11
* Doxyfile
12 13

- Then update packages information with:
14
$ make clean && make cpan
15 16

- Version must also be updated in RPM and Debian build files
17 18
  - rpm/lemonldap-ng.spec: update versions and add changelog entry
  - debian/changelog: add changelog entry
19 20 21 22 23

Before release
--------------

- Update documentation:
24
$ make documentation
25

26 27 28
For minor release
-----------------

Clément OUDOT's avatar
Clément OUDOT committed
29
- Tag the version on SVN from the branch:
30
$ svn cp branches/lemonldap-ng_version_VERSION-bugfixes tags/lemonldap-ng_version_VERSION
31 32 33 34

For major release
-----------------

Clément OUDOT's avatar
Clément OUDOT committed
35
- Create a branch on SVN from the trunk:
36
$ svn cp trunk branches/lemonldap-ng_version_VERSION-bugfixes
37

38 39
- Tag the version on SVN from the branch:
$ svn cp branches/lemonldap-ng_version_VERSION-bugfixes tags/lemonldap-ng_version_VERSION
40

41 42
Make the distribution
---------------------
43

44 45
- CPAN packages:
$ make clean && make cpan
46 47

- Tarball:
48 49 50 51 52 53 54 55 56 57 58 59 60 61
$ 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
62 63


64 65
Upload the distribution
---------------------
66

67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
- 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'
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103

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.)