| 1 | The libseccomp-golang Release Process |
| 2 | =============================================================================== |
| 3 | https://github.com/seccomp/libseccomp-golang |
| 4 | |
| 5 | This is the process that should be followed when creating a new |
| 6 | libseccomp-golang release. |
| 7 | |
| 8 | #### 1. Verify that all issues assigned to the release milestone have been resolved |
| 9 | |
| 10 | * https://github.com/seccomp/libseccomp-golang/milestones |
| 11 | |
| 12 | #### 2. Verify that the syntax/style meets the guidelines |
| 13 | |
| 14 | % make check-syntax |
| 15 | |
| 16 | #### 3. Verify that the bundled tests run without error |
| 17 | |
| 18 | % make vet |
| 19 | % make check |
| 20 | |
| 21 | #### 4. If any problems were found up to this point that resulted in code changes, restart the process |
| 22 | |
| 23 | #### 5. Update the CHANGELOG file with significant changes since the last release |
| 24 | |
| 25 | #### 6. If this is a new major/minor release, create new 'release-X.Y' branch |
| 26 | |
| 27 | % stg branch -c "release-X.Y" |
| 28 | |
| 29 | ... or ... |
| 30 | |
| 31 | % git branch "release-X.Y" |
| 32 | |
| 33 | #### 7. Tag the release in the local repository with a signed tag |
| 34 | |
| 35 | % git tag -s -m "version X.Y.Z" vX.Y.Z |
| 36 | |
| 37 | #### 8. Push the release tag to the main GitHub repository |
| 38 | |
| 39 | % git push <repo> vX.Y.Z |
| 40 | |
| 41 | #### 9. Create a new GitHub release using the associated tag, add the relevant section from the CHANGELOG file |
| 42 | |
| 43 | #### 19. Update the GitHub release notes for older releases which are now unsupported |
| 44 | |
| 45 | The following Markdown text is suggested at the top of the release note, see old GitHub releases for examples. |
| 46 | |
| 47 | ``` |
| 48 | ***This release is no longer supported upstream, please use a more recent release*** |
| 49 | ``` |