To create a release follow the below steps
- Create a draft of a Release with version number
vX.Y.Xsourced from themainbranch using github releases page and populate release description using information found on the issues and pull requests since previous release. To find issues closed after certain date use advanced filters. Example:is:issue closed:>2018-07-22
- create the release branch from
developbranch and make sure to name the release branch:release/vX.Y.Z - update, commit and push at least one file change in the release branch, to kick off a build on GithubActions or kick-off a build manually for that branch after it was created on github.
- wait for the build to complete successfully as it will update the version to be release number (without develop)
- merge the release branch to
mainbranch and publish the previously prepared release draft. - Wait for the Github Actions
Releaseprocess to complete successfully. The process will upload release artifacts (zipandtar.gzfiles along withmd5) - After Release build was completed successfully, merge the
mainbranch back intodevelopbranch. At this point, main branch and release tag should be at the same commit version and artifacts should be uploaded into Github release. - After develop branch was built, increase the version number in
VERSIONfile to represent next planned release version. - Clone
utplsql.githug.ioproject and:- 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. - Add the post to list in
mkdocs.ymlfile in root directory of that repository. - Add the link to the post at the beginning of the
docs/index.mdfile.
- Add a new announcement about next version being released in
The following will happen:
- build executed on branch
release/vX.Y.Z-[something]updates filessonar-project.properties,VERSIONwith project version derived from the release branch name - changes to those two files are committed and pushed back to release branch
- when a Github release is published, a new tag is added in on the repository and a release build is executed
- With Release build, the documentation for new release is published on
utplsql.github.ioand installation archives are added to the release.
The utPLSQL installation files are uploaded by the release build process as release artifacts (separate zip and tar.gz files).
The release artifacts include HTML documentation generated from MD files, sources and tests