Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
dev:howto:release [2009/09/27 17:18] – jannis | dev:howto:release [2017/12/18 03:49] – Small improvements andreldm |
---|
- Release information: ''ChangeLog'', ''NEWS''. | - Release information: ''ChangeLog'', ''NEWS''. |
- Common information: ''README'', ''AUTHORS'', ''THANKS'', ''TODO'' (when present). | - Common information: ''README'', ''AUTHORS'', ''THANKS'', ''TODO'' (when present). |
| - [[http://git.xfce.org/xfce/xfce4-power-manager/commit/?id=10e532b0c6462cfa61faa5ebeddec7b7e454bfe3|Sample Commit]] |
| |
===== Configure script ===== | ===== Configure script ===== |
- Update version in the configure script template ''configure.in.in'' or ''configure.ac.in''. | - Edit the configure script template ''configure.in.in'' or ''configure.ac.in''. |
| - Set the package version (''<package>_version_major'', ''<package>_version_minor'' and ''<package>_version_micro'') to the version you want to release. |
- Remove ''git'' from ''<package>_version_tag''. | - Remove ''git'' from ''<package>_version_tag''. |
- Check the build dependencies. | - Check the build dependencies. |
| |
===== Check release package ===== | ===== Check release package ===== |
- Run ''./autogen.sh''. | - Run ''./autogen.sh'' |
- Run ''make distcheck'' | - Run ''make distcheck'' |
- Check auto generated files: ''INSTALL'', ''COPYING'' | - Check auto generated files: ''INSTALL'', ''COPYING'' |
- If at this stage everything works, commit all changes for release to master. | - If at this stage everything works, run ''git commit -m 'Updates for release''' |
- Now you are ready to tag the current master: \\ <code>git tag -a <package-version> | - Now you are ready to tag the current master: \\ <code>git tag -a <package>-<version> # e.g. xfce4-power-manager-1.3.2 |
git push | git push && git push --tags</code>You can sign tags with a GPG key by adding an additional parameter to the ''git tag'' command. For more information about tagging read the ''[[http://www.kernel.org/pub/software/scm/git/docs/git-tag.html|git-tag]]'' manual. |
git push --tags</code> | - Now you can release the package using the [[https://releases.xfce.org|xfce release manager]]. Folow the instructions on that site. |
For GPG signed tags change the ''git tag -a'' command, see ''git add'' manual for more detail. | |
| |
===== Post-release ===== | ===== Post-release ===== |
- Edit ''configure.in.in'' or ''configure.ac.in''. | - Edit ''configure.in.in'' or ''configure.ac.in''. |
- Change ''package_version_major'', ''package_version_minor'' and ''package_version_micro'' version to the next version. | - Reset ''<package>_version_tag'' to ''git''. |
- Re-add ''svn'' to ''package_version_tag''. | - Commit (''git commit -m "Back to development"'') and push. |
| - Add the version to the bugzilla component. |