Skip to content

ci: Use semantic release development workflow#360

Merged
markmetcalfe merged 1 commit into
totara:masterfrom
markmetcalfe:semantic-releases
Oct 13, 2025
Merged

ci: Use semantic release development workflow#360
markmetcalfe merged 1 commit into
totara:masterfrom
markmetcalfe:semantic-releases

Conversation

@markmetcalfe

@markmetcalfe markmetcalfe commented Oct 6, 2025

Copy link
Copy Markdown
Contributor

Having to manually make releases seems somewhat arbitrary given that a lot of the changes are often unrelated, and desired by different teams. Wanting to remove the amount of effort to make and release changes, and make it so it's more decentralised so individual teams can make changes without having to involve others/wait for the next manual release (of which we don't really have a schedule for)

I’m proposing that we switch from the current release model (of merging into develop, then merging into master and manually creating a release) to a model where:

  1. Commits are named using the conventional commit format (i.e. feat/fix/chore)
  2. PRs require 2 approvals rather than 1 (the idea being one Mac tester and one WSL tester)
  3. PRs are merged directly into master
  4. Releases are made automatically once a PR is merged (using the semantic release process)

This then creates a release that looks like this (in my personal fork) that uses the conventional commit message to determine whether to increment the minor or patch version, and uses it to autogenerate release notes.

@markmetcalfe markmetcalfe linked an issue Oct 6, 2025 that may be closed by this pull request
@jakub-krauz-totara jakub-krauz-totara self-requested a review October 9, 2025 22:07
@jakub-krauz-totara

Copy link
Copy Markdown

Continuous delivery for the win! Great move imo.

@markmetcalfe

Copy link
Copy Markdown
Contributor Author

Have got security approval from Nate on this

@markmetcalfe

Copy link
Copy Markdown
Contributor Author

FYI: Made some small grammar changes to CONTRIBUTING.md

@markmetcalfe markmetcalfe merged commit c9f26c8 into totara:master Oct 13, 2025
1 check passed
@TotaraAdmin

Copy link
Copy Markdown

🎉 This PR is included in version 1.18.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@markmetcalfe markmetcalfe deleted the semantic-releases branch October 14, 2025 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Idea: Automatic releases via semantic commits

4 participants