2019-01-15 07:57:05 -05:00
|
|
|
# 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)
|
2019-01-15 07:57:05 -05:00
|
|
|
* Check copright dates in all files (Copywright 2012-2019)
|
|
|
|
|
|
|
|
* Generate HTML docs (the docgen argument only works when package status is development)
|
|
|
|
`./profanity docgen`
|
|
|
|
|
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
|
2019-01-15 07:57:05 -05:00
|
|
|
* Update CHANGELOG
|
|
|
|
* Update profrc.example
|
|
|
|
|
|
|
|
## Creating artefacts
|
|
|
|
* Set the correct release version in configure.ac:
|
|
|
|
|
|
|
|
```
|
|
|
|
AC_INIT([profanity], [0.6.0], [boothj5web@gmail.com])
|
|
|
|
```
|
|
|
|
|
2019-03-04 11:26:28 -05:00
|
|
|
* Set the package status in configure.ac:
|
2019-01-15 07:57:05 -05:00
|
|
|
|
|
|
|
```
|
|
|
|
PACKAGE_STATUS="release"
|
|
|
|
```
|
|
|
|
|
|
|
|
* Commit
|
|
|
|
* Tag (0.6.0)
|
|
|
|
* Push
|
|
|
|
|
2019-03-04 11:26:28 -05:00
|
|
|
* Configure to generate fresh Makefile:
|
2019-01-15 07:57:05 -05:00
|
|
|
|
|
|
|
```
|
2019-03-04 11:26:28 -05:00
|
|
|
./bootstrap.sh && ./configure
|
2019-01-15 07:57:05 -05:00
|
|
|
```
|
|
|
|
|
2019-03-04 11:26:28 -05:00
|
|
|
* Generate tarballs:
|
2019-01-15 07:57:05 -05:00
|
|
|
|
|
|
|
```
|
2019-03-04 11:26:28 -05:00
|
|
|
make dist
|
|
|
|
make dist-bzip2
|
|
|
|
make dist-xz
|
|
|
|
make dist-zip
|
2019-01-15 07:57:05 -05:00
|
|
|
```
|
|
|
|
|
2019-03-04 11:26:28 -05:00
|
|
|
* Set version to next release:
|
2019-01-15 07:57:05 -05:00
|
|
|
|
|
|
|
```
|
2019-03-04 11:26:28 -05:00
|
|
|
AC_INIT([profanity], [0.7.0], [boothj5web@gmail.com])
|
2019-01-15 07:57:05 -05:00
|
|
|
```
|
|
|
|
|
2019-03-04 11:26:28 -05:00
|
|
|
* Set the pacakge status back to dev:
|
2019-01-15 07:57:05 -05:00
|
|
|
|
|
|
|
```
|
2019-03-04 11:26:28 -05:00
|
|
|
PACKAGE_STATUS="development"
|
2019-01-15 07:57:05 -05:00
|
|
|
```
|
|
|
|
|
2019-03-04 11:26:28 -05:00
|
|
|
* Create a branch for patch releases (0.6.patch)
|
|
|
|
* Push
|
2019-01-15 07:57:05 -05:00
|
|
|
|
|
|
|
## Updating website
|
|
|
|
* Make changes to the git repo incuding uploading the new artefacts at:
|
|
|
|
https://github.com/boothj5/www_profanity_im
|
|
|
|
* Email boothj5web@gmail.com to get them published to the website
|