|
3 | 3 | To create a release follow the below steps
|
4 | 4 |
|
5 | 5 | ## Release preparation
|
6 |
| - - Create a **draft** of a Release with version number `vX.Y.X` sourced from the `main` branch using [github releases page](https://github.com/utPLSQL/utPLSQL/releases) and populate release description using information found on the issues and pull requests **since previous release**. |
7 |
| - To find issues closed after certain date use [advanced filters](https://help.github.com/articles/searching-issues-and-pull-requests/#search-by-open-or-closed-state). |
8 |
| - Example: [`is:issue closed:>2018-07-22`](https://github.com/utPLSQL/utPLSQL/issues?utf8=%E2%9C%93&q=is%3Aissue+closed%3A%3E2018-07-22+) |
| 6 | + - Create a **draft** of a Release with a new tag number `vX.Y.X` sourced from the `develop` branch on [github releases page](https://github.com/utPLSQL/utPLSQL/releases) |
| 7 | + - Populate release description using the `Generate release notes` button |
| 8 | + - Review the auto-generated release notes and update tem if needed |
| 9 | + - Split the default `## What's Changed` list into `## New features`, `## Enhancements`, `## Bug fixes`. See previous release notes for details |
9 | 10 |
|
10 | 11 | ## Performing a release
|
11 |
| - - create the release branch from `develop` branch and make sure to name the release branch: `release/vX.Y.Z` |
12 |
| - - update, commit and push at least one file change in the release branch, to kick off a build on [GithubActions](https://github.com/utPLSQL/utPLSQL/actions) or kick-off a build manually for that branch after it was created on github. |
13 |
| - - wait for the build to complete successfully as it will update the version to be release number (without develop) |
14 |
| - - merge the release branch to `main` branch and publish [the previously prepared](#release-preparation) release draft. |
| 12 | + - Publish [the previously prepared](#release-preparation) release draft. |
15 | 13 | - Wait for the [Github Actions `Release`](https://github.com/utPLSQL/utPLSQL/actions/workflows/release.yml) process to complete successfully. The process will upload release artifacts (`zip` and `tar.gz` files along with `md5`)
|
16 |
| - - After Release build was completed successfully, merge the `main` branch back into `develop` branch. At this point, main branch and release tag should be at the same commit version and artifacts should be uploaded into Github release. |
17 |
| - - After develop branch was built, increase the version number in `VERSION` file to represent next planned release version. |
| 14 | + - After Release build was completed successfully, merge the `develop` branch into `main` branch. At this point, main branch and release tag should be at the same commit version and artifacts should be uploaded into Github release. |
| 15 | + - Increase the version number in the `VERSION` file on `develop` branch to open start next release version. |
18 | 16 | - Clone `utplsql.githug.io` project and:
|
19 | 17 | - Add a new announcement about next version being released in `docs/_posts`. Use previous announcements as a template. Make sure to set date, time and post title properly.
|
20 | 18 | - Add the post to list in `mkdocs.yml` file in root directory of that repository.
|
21 | 19 | - Add the link to the post at the beginning of the `docs/index.md` file.
|
| 20 | + - Send the announcement on Twitter(X) accoiunt abut utPLSQL release. |
22 | 21 |
|
23 | 22 | The following will happen:
|
24 |
| - - build executed on branch `release/vX.Y.Z-[something]` updates files `sonar-project.properties`, `VERSION` with project version derived from the release branch name |
25 |
| - - changes to those two files are committed and pushed back to release branch |
26 |
| - - when a Github release is published, a new tag is added in on the repository and a release build is executed |
27 |
| - - With Release build, the documentation for new release is published on `utplsql.github.io` and installation archives are added to the release. |
| 23 | + - When a Github release is published, a new tag is added in on the repository and a release build is executed |
| 24 | + - With Release action, the documentation for new release is published on `utplsql.github.io` and installation archives are added to the release. |
28 | 25 |
|
29 | 26 | # Note:
|
30 | 27 | The utPLSQL installation files are uploaded by the release build process as release artifacts (separate `zip` and `tar.gz` files).
|
|
0 commit comments