diff options
Diffstat (limited to 'CONTRIBUTING.md')
| -rw-r--r-- | CONTRIBUTING.md | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ab8fbf8..b5eab51 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md | |||
| @@ -121,10 +121,12 @@ Maintainers need to do the following to push out a release: | |||
| 121 | 121 | ||
| 122 | 1. Make sure that all pending and mergeable pull requests are in | 122 | 1. Make sure that all pending and mergeable pull requests are in |
| 123 | 2. Run `valgrind` and check that everything is ok | 123 | 2. Run `valgrind` and check that everything is ok |
| 124 | 3. Update the `snuffleupagus.h` file: drop the -dev suffix and check new version comply with [semantic versioning](https://semver.org/) | 124 | 3. Update the `src/php_snuffleupagus.h` file: drop the `-dev` suffix and check new version comply with [semantic versioning](https://semver.org/) |
| 125 | 4. Update the changelog page in the documentation | 125 | 4. Update the changelog page in the documentation |
| 126 | 5. Update the Debian changelog in ./debian/changelog with `dch` | 126 | 5. Update the Debian changelog in `./debian/changelog` with `dch` |
| 127 | 6. Create a tag for the release: | 127 | 6. Commit the result |
| 128 | 7. Clean up the folder `make clean; git clean -xdf` | ||
| 129 | 8. Create a tag for the release: | ||
| 128 | 130 | ||
| 129 | ```sh | 131 | ```sh |
| 130 | git checkout master | 132 | git checkout master |
| @@ -132,10 +134,11 @@ Maintainers need to do the following to push out a release: | |||
| 132 | make coverage | 134 | make coverage |
| 133 | git config user.signingkey 498C46FF087EDC36E7EAF9D445414A82A9B22D78 | 135 | git config user.signingkey 498C46FF087EDC36E7EAF9D445414A82A9B22D78 |
| 134 | git config user.email security@nbs-system.com | 136 | git config user.email security@nbs-system.com |
| 135 | git tag -s $MAJOR.$MINOR.$PATCH | 137 | git tag -s v$MAJOR.$MINOR.$PATCH -m "v$MAJOR.$MINOR.$PATCH" |
| 136 | git push --tags | 138 | git push --tags |
| 137 | ``` | 139 | ``` |
| 138 | 140 | ||
| 139 | 7. Create the [release on github](https://github.com/nbs-system/snuffleupagus/releases) | 141 | 9. Build the debian package with `make debian` |
| 140 | 8. Update the `snuffleupagus.h` file: bump the version 3rd digit and add the -dev suffix | 142 | 10. Create the [release on github](https://github.com/nbs-system/snuffleupagus/releases) |
| 141 | 9. Do the *secret release dance* | 143 | 11. Update the `src/php_snuffleupagus.h` file: bump the version 3rd digit and add the `-dev` suffix |
| 144 | 12. Do the *secret release dance* | ||
