Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| pub:development:release [25.09.2024 12:28] – removed - external edit (Unknown date) 127.0.0.1 | pub:development:release [25.09.2024 12:28] (current) – ↷ Page moved from release to pub:development:release Predrag Tasevski | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Releasing ====== | ||
| + | |||
| + | <WRAP warning> **Warring**\\ | ||
| + | The content of this page is still in progress and needs some tweaking. </ | ||
| + | |||
| + | ===== Creating a Standard Release ===== | ||
| + | |||
| + | * Ensure a branch exists for the version family (for 2022.12.2 the branch would be '' | ||
| + | * Merge all the commits that should be released on the version branch | ||
| + | * If backporting commits to a non-current version branch, cherry-pick the commits. | ||
| + | * Push the branch, which will run the CI pipeline to make sure all tests pass | ||
| + | * Create/ | ||
| + | |||
| + | ====== For initial releases: ====== | ||
| + | |||
| + | * Copy '' | ||
| + | * Fill in the section of '' | ||
| + | * Run '' | ||
| + | * Paste the list of commits since the previous release under the '' | ||
| + | * Run '' | ||
| + | * Sort the list of commits alphabetically and remove all commits that have little importance, like dependency updates and linting fixes | ||
| + | * Run '' | ||
| + | * Update '' | ||
| + | * If the release notes are created in advance without a fixed date for the release, only add them to the sidebar once the release is published. | ||
| + | * Run '' | ||
| + | |||
| + | |||
| + | ====== For subsequent releases: ====== | ||
| + | |||
| + | * Paste the list of commits since the previous release into '' | ||
| + | * Run '' | ||
| + | * Run '' | ||
| + | * Run '' | ||
| + | * Run '' | ||
| + | * Push the tag and commit | ||
| + | * A GitHub actions workflow will start to run a last test in container images and create a draft release on GitHub | ||
| + | * Edit the draft GitHub release | ||
| + | * Make sure the title is formatted '' | ||
| + | * Add the following to the release notes | ||
| + | * See https:// | ||
| + | * Or if creating a subsequent release | ||
| + | * See https:// | ||
| + | * Auto-generate the full release notes using the GitHub //Generate Release Notes// feature | ||
| + | |||
| + | |||
| + | |||
| + | ===== Preparing a Security Release ===== | ||
| + | |||
| + | * Create a draft GitHub Security advisory | ||
| + | |||
| + | ++++ Template | | ||
| + | ==== Summary ==== | ||
| + | |||
| + | Short summary of the issue | ||
| + | |||
| + | ==== Patches ==== | ||
| + | |||
| + | unicis_platform x, y and z fix this issue, for other versions the workaround can be used. | ||
| + | |||
| + | ==== Impact ==== | ||
| + | |||
| + | Describe the impact that this issue has | ||
| + | |||
| + | ==== Details ==== | ||
| + | |||
| + | Further explain how the issue works | ||
| + | |||
| + | ==== Workarounds ==== | ||
| + | |||
| + | Describe a workaround if possible | ||
| + | |||
| + | ==== For more information ==== | ||
| + | |||
| + | If you have any questions or comments about this advisory: | ||
| + | |||
| + | * Email us at | ||
| + | |||
| + | ++++ | ||
| + | |||
| + | * Request a CVE via the draft advisory | ||
| + | * If possible, add the original reporter in the advisory | ||
| + | * Implement a fix on a local branch '' | ||
| + | * The fix must include unit tests to ensure the issue can’t happen again in the future | ||
| + | * Update the release notes as specified above, making sure to address the CVE being fixed | ||
| + | * Create a new file '' | ||
| + | * Include the new file in the '' | ||
| + | * Check with the original reporter that the fix works as intended | ||
| + | * Wait for GitHub to assign a CVE | ||
| + | * Announce the release of the vulnerability via Mailing list and discord | ||
| + | |||
| + | ++++ Mailing list template” close | | ||
| + | |||
| + | Subject: '' | ||
| + | |||
| + | We’ll be publishing a security Issue (CVE-2022-xxxxx) and accompanying fix on //date//, 13:00 UTC with the Severity level High. Fixed versions x, y and z will be released alongside a workaround for previous versions. For more info, see the authentik [[docs/ | ||
| + | ++++ | ||
| + | |||
| + | ++++ Discord template | | ||
| + | |||
| + | @everyone We’ll be publishing a security Issue (CVE-2022-xxxxx) and accompanying fix on //date//, 13:00 UTC with the Severity level High. Fixed versions x, y and z will be released alongside a workaround for previous versions. For more info, see the authentik [[docs/ | ||
| + | ++++ | ||
| + | |||
| + | ===== Creating a Security Release ===== | ||
| + | |||
| + | * On the date specified in the announcement, | ||
| + | * If the fix made any changes to the API schema, merge the PR to update the web API client | ||
| + | * Cherry-pick the merge commit onto the version branch | ||
| + | * If the fix made any changes to the API schema, manually install the latest version of the API client in '' | ||
| + | * Resume the instructions above, starting with the '' | ||
| + | * After the release has been published, update the Discord announcement and send another mail to the mailing list to point to the new releases | ||
| + | |||
| + | ++++ Mailing list template | | ||
| + | Subject: '' | ||
| + | |||
| + | The security advisory for CVE-2024-xxxxx has been published: https: | ||
| + | |||
| + | Releases 2022.10.3 and 2022.11.3 with fixes included are available here: https: | ||
| + | ++++ | ||
| + | |||
| + | ++++ Discord template | | ||
| + | |||
| + | […existing announcement…] | ||
| + | |||
| + | Edit: | ||
| + | |||
| + | Advisory for for CVE-2022-xxxxx has been published here https: | ||
| + | ++++ | ||
| + | |||
| + | ===== Links ===== | ||
| + | |||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | This guide includes the steps required for creating both standard and security releases, with specific references and links for the Unicis Platform Business and Community Editions. | ||