-
Notifications
You must be signed in to change notification settings - Fork 124
OSCAL Content Release Checklist
Michaela Iorga edited this page Feb 14, 2024
·
1 revision
- Complete the review of all PRs that need to be merged into the release.
- Ensure all desired features are merged into
develop
- Ensure
develop
is not behindmain
- PR
develop
tomain
. This is important fro oscal-content so the artifacts get generated inmain
too. - Verify no CI errors.
- Merge
develop
tomain
after approval. - Verify no CI errors occurred during merge.
- Tag the release. It is important to note that after the artifacts are generated and committed, the branch needs to be tagged with the version so that when the release is generated on the GitHub, the tag can be selected which will automatically generate the source code assets for the release.
git checkout main
git submodule update --init --recursive
git tag -a v1.X.0 # needed to generate the assets release (*.zip and *tar.gz)
git push --follow-tags # needed to generate the assets release (*.zip and *tar.gz)
-
Create release branch
release-1.3
frommain
- NOTE: A branch was created for the 1.2.1 patch release when we should have usedrelease-1.2
branch and just tag it with 1.2.1. In the future, this should be avoided. -
Create the release notes directly on HackMD or local.
-
Execute the commend below to get the list of commits to include in the release notes.
git log origin/release-1.2.1..origin/release-1.3.0 --pretty=oneline --abbrev-commit
- Generate the draft release In the GH repo and include the notes. Save as draft and review it.
- Publish the release
- Delete
develop
and recreate it.- NOTES:
- When merging
develop
intomain
, all commits get recreated, anddevelop
gets same number of commits behind and ahead, so it needs to be deleted immediate after the release and BEFORE new work is pushed to the existingdevelop
. - Develop is protected, and only members or OSCAL-admins can delete the protection rule in Settings, delete the branch and recreate it.
- When merging
- NOTES: