You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: release_tools/README.adoc
+15-6Lines changed: 15 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
9
9
== Process ==
10
10
11
-
When releasign alpha/pre-releases, please keep in mind how RPM handles the versioning. Please see how is this handled in SPEC file https://fedoraproject.org/wiki/Packaging:Versioning before you build Fedora and RHEL packages.
11
+
When releasing alpha/pre-releases, please keep in mind how RPM handles the versioning. Please see how is this handled in SPEC file https://fedoraproject.org/wiki/Packaging:Versioning before you build Fedora and RHEL packages.
12
12
13
13
. Ensure the project is in a good shape for the release
14
14
+
@@ -17,7 +17,7 @@ When releasign alpha/pre-releases, please keep in mind how RPM handles the versi
@@ -94,6 +94,11 @@ Update the `AUTHORS` file for missing authors and the `naming.sh` file if there
94
94
Use it to update the `NEWS` file and commit it.
95
95
+
96
96
The last commit before the release has to have the `openscap-<version>` message (e.g. `openscap-1.3.2`).
97
+
+
98
+
Tag the commit and push the changes to upstream. You need to be allowed to push without pull requests in the GitHub repository settings.
99
+
+
100
+
git tag $version
101
+
git push origin maint-1.3
97
102
98
103
. Create tarballs and GitHub release.
99
104
+
@@ -105,14 +110,18 @@ Add relevant part of the NEWS file as a release description.
105
110
+
106
111
Attach `openscap-X.Y.Z.tar.gz` and `openscap-X.Y.Z.tag.gz.sha512` files to the GH release, created against the release tag.
107
112
108
-
. Run `new-release.sh`.
113
+
. Run `new-release.sh $new_version`.
114
+
+
115
+
You need to provide the expected next version, ie. if you release 1.3.7 you should put there 1.3.8.
116
+
This will handle milestones swap on GitHub and it will bump version numbers in `versions.sh` to be ready for the next upstream release.
117
+
+
118
+
Then, change the version to expected next version in `/CMakeLists.txt`
109
119
+
110
-
This will create and push version tags, create new GitHub release and handle milestones swap.
111
-
Finally, it will bump version numbers in `versions.sh` to be ready for the next upstream release.
120
+
Commit and push the changes.
112
121
113
122
. Generate and publish documentation.
114
123
+
115
-
Generate documentation by running `make docs`. Then, upload the generated OpenSCAP User manual and Doxygen API documentation to https://static.open-scap.org/ (Ask project maintainers for information on how to update https://static.open-scap.org/).
124
+
Generate documentation by running `cmake -DENABLE_DOCS=ON .. && make docs`. Then, upload the generated OpenSCAP User manual and Doxygen API documentation to https://static.open-scap.org/ (Ask project maintainers for information on how to update https://static.open-scap.org/).
0 commit comments