-
Notifications
You must be signed in to change notification settings - Fork 2
Release Process
E. Lynette Rayle edited this page May 10, 2022
·
1 revision
- create a branch (e.g.
release/v3.0.0
) from thedev
branch, wherev3.0.0
is the actual version being released - update
lib/version.rb
to set the new version (e.g.VERSION = "v3.0.0".freeze
) - update
CHANGELOG.md
to add a section at the top for the new release and a simple list of major changes - commit changes and push
- create a PR with
dev
branch as the base - after tests complete, merge PR into
dev
branch
The merge into the dev
branch should trigger an auto-deploy of dev
to the integration machine. Once it completes...
- confirm integration site loads without error
- confirm Cornell Exhibits version in the footer matches the version of the new release
- confirm integration site functions as expected
- create a new PR from the
dev
branch withmain
branch as the base - after tests complete, merge into
main
branch
The merge into the main
branch should trigger an auto-deploy of main
to the staging machine. Once it completes...
- confirm staging site loads without error
- confirm Cornell Exhibits version in the footer matches the version of the new release
- confirm staging site functions as expected
Examples:
- navigate to releases
- click button: Draft a new release
- click selection box: Choose a tag
- create tag with new version number (e.g.
v3.0.0
)
- create tag with new version number (e.g.
- set release title to same label used for the tag (e.g.
v3.0.0
) - add documentation with sections...
- Overview - 1 to 3 lines about the purpose of the release
- Details - extended description (rarely needed)
- Required Steps - document any special steps required for the update to work
- User Notes - document any changes users should be aware of, especially if they impact exhibit construction
- Bug Fixes - list any changes that are considered bug fixes separately
- Change Log - minimally, the list of major changes from the CHANGELOG (always include this information)
- click button: Publish release
Manually deploy to production in Jenkins.