Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Release 5.1.0 #101

Merged
merged 15 commits into from
Oct 2, 2019
Merged

Release 5.1.0 #101

merged 15 commits into from
Oct 2, 2019

Conversation

thinkh
Copy link
Member

@thinkh thinkh commented Oct 2, 2019

Release notes

Checklists

Release preparation

  • Create new release-x.x.x branch (based on develop branch)
  • Collect changes and write release notes
  • Draft release PR in GitHub

Release dependencies first

In case of dependent Phovea/TDP repositories follow dependency tree from the top:

  • Release dependent repositories if they contain changes first before proceeding here
  • Replace git dependencies in package.json with new version range (e.g., "phovea_core": "^2.3.1")
  • Replace git dependencies in requirements.txt with new version range (e.g., phovea_server>=2.3.0,<3.0.0)
  • Commit and push new dependencies
  • Wait until build is successful
  • Repeat with other repositories/dependencies or proceed with next section

Update version

  • Check version numbers of dependencies again
  • Check if build is successful
  • Update this version number following semver
  • Run npm install on release branch to update package-lock.json
  • Commit and push package.json and package-lock.json with new version number
  • Wait until build is successful
  • Assign reviewer and wait for final review
  • Merge this pull request into master branch

Create GitHub release

  • Draft a new release (Code -> Releases -> Draft a new release)
  • Use new version number as tag (e.g., v2.3.1)
  • Copy release notes
  • Publish release

Prepeare next develop release

  • Merge master into develop branch
  • Update version in package.json and package-lock.json to <next patch version>-SNAPSHOT (e.g., 2.3.1 to 2.3.2-SNAPSHOT)
  • Revert dependencies in package.json to develop branches (e.g., "phovea_core": "github:phovea/phovea_core#develop")
  • Revert dependencies in requirements.txt to develop branches (e.g., -e git+https://github.com/phovea/phovea_server.git@develop#egg=phovea_server)
  • Commit and push changes

🏁 Finish line

  • Inform colleagues and customers about the release
  • Celebrate the new release 🥳

@thinkh thinkh marked this pull request as ready for review October 2, 2019 14:50
@thinkh thinkh merged commit 15bd6e2 into master Oct 2, 2019
@thinkh thinkh deleted the release-5.1.0 branch October 2, 2019 14:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants