File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -49,12 +49,22 @@ Update the `AUTHORS` file for missing authors and the `naming.sh` file if there
49
49
+
50
50
Use it to update the `NEWS` file and commit it.
51
51
+
52
- The last commit before the release has to have the `openscap-<version>` message (e.g. `openscap-1.2.17`).
52
+ The last commit before the release has to have the `openscap-<version>` message (e.g. `openscap-1.3.2`).
53
+
54
+ . Create tarballs and GitHub release.
55
+ +
56
+ In a clean copy of the release branch run `cmake .. && make package_source` in the `build` directory.
57
+ +
58
+ Create new GitHub release with the name of the vesrion (e.g. 1.3.2) being released.
59
+ +
60
+ Add relevant part of the NEWS file as a release description.
61
+ +
62
+ 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.
53
63
54
64
. Run `new-release.sh`.
55
65
+
56
66
This will create and push version tags, create new GitHub release and handle milestones swap.
57
- Finally, it will bump version numbers in `versions.sh` to be ready for the next upstream release.
67
+ Finally, it will bump version numbers in `versions.sh` to be ready for the next (e.g. 1.3.3) upstream release.
58
68
59
69
. Build OpenSCAP for Windows
60
70
+
Original file line number Diff line number Diff line change @@ -355,7 +355,7 @@ upload_to_git()
355
355
# $3: The new version
356
356
flip_milestones ()
357
357
{
358
- " ./ $SCRIPT_DIR /move-milestones.py" --owner " $2 " --api -token " $1 " " $version " " $3 "
358
+ " $SCRIPT_DIR /move-milestones.py" --owner " $2 " --auth -token " $1 " " $version " " $3 "
359
359
}
360
360
361
361
@@ -414,6 +414,6 @@ release_to_git_and_bump_release()
414
414
check_release_is_ok
415
415
release_to_git
416
416
# upload_to_git # to be done when https://github.com/PyGithub/PyGithub/pull/525 is merged.
417
- flip_milestones --auth-token " $GITHUB_TOKEN " openscap " $_new_version "
417
+ flip_milestones " $GITHUB_TOKEN " openscap " $_new_version "
418
418
bump_release " $_new_version "
419
419
}
You can’t perform that action at this time.
0 commit comments