1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-10-27 20:30:13 -04:00
profanity/RELEASE_GUIDE.md

84 lines
2.2 KiB
Markdown
Raw Normal View History

# Release Guide
Usually release candidates are tagged 0.6.0.rc1, 0.6.0.rc2 and tested for a week or so.
* Release libstrophe and libmesode if required
* Run Unit tests: `make check-unit`
* Run Functional tests - Currently disabled
* Run manual valgrind tests for new features
* Build and simple tests in Virtual machines ideally all dists including OSX and Windows (Cygwin)
2019-01-16 06:29:24 -05:00
* Update Inline command help (./src/command/cmd_defs.c)
2021-08-25 21:17:42 -04:00
* Check copyright dates in all files (Copywright 2012-2019)
* Generate HTML docs (the docgen argument only works when package status is development)
`./profanity docgen`
* Generate manpages for profanity commands (the mangen argument only works when package status is development)
`./profanity mangen`
These files should be added to the docs subfolder and added to git whenever a command changes.
* Determine if libprofanitys version needs to be [increased](https://github.com/profanity-im/profanity/issues/973)
2019-01-16 06:29:24 -05:00
* Update plugin API docs (./apidocs/c and ./apidocs/python) need to run the `gen.sh` and commit the results to the website git repo
* Update CHANGELOG
* Update profrc.example
2022-02-22 10:12:10 -05:00
* Update profanity.doap (new XEPs and latest version)
## Creating artefacts
* Set the correct release version in configure.ac:
```
AC_INIT([profanity], [0.6.0], [boothj5web@gmail.com])
```
* Set the package status in configure.ac:
```
PACKAGE_STATUS="release"
```
2021-01-09 02:34:44 -05:00
* Add generated command manpages: `git add docs/profanity-*.1`
* Commit
* Tag (0.6.0)
* Push
* Configure to generate fresh Makefile:
```
./bootstrap.sh && ./configure
```
* Generate tarballs:
```
make dist
make dist-bzip2
make dist-xz
make dist-zip
```
* Set version to next release:
```
AC_INIT([profanity], [0.7.0], [boothj5web@gmail.com])
```
2021-08-25 21:17:42 -04:00
* Set the package status back to dev:
```
PACKAGE_STATUS="development"
```
2021-01-09 02:34:44 -05:00
* Remove generated command manpages: `git rm docs/profanity-*.1`
* Create a branch for patch releases (0.6.patch)
* Push
## Updating website
2021-08-25 21:17:42 -04:00
* Make changes to the git repo including uploading the new artefacts at:
https://github.com/profanity-im/profanity-im.github.io
* Update profanity_version.txt
2022-02-22 10:12:10 -05:00
* Take results from profanity.doap and put them into xeps.html