Made the release pipeline automatically triggered on merges to master. There is no full-time team dedicated to this project, so trying to maintain a Git Flow workflow is unreasonable and will slow down features the community needs/wants. For now, the dev branch will be retired, and all releases will go through master
Rather than a manual release by clicking the pipeline, the release type will be determined by the prefix of the last commit message as follows:
major = major release
feat = minor release
beta = pre-release
anything else = patch release
Manually generated changelog since pipelines doesn't seem to have access to the full git history
Removed automatic changelog generation from pipeline
How did you implement it:
Check last commit message prefix, set NPM_RELEASE_TYPE according to rules stated above
Removed automated generation of changelog
Ran changelog generation locally
How can we verify it:
Open a PR against master with one of the specified prefixes and check the resulting release type
Todos:
Note: Run npm run test:ci to run all validation checks on proposed changes
[x] Ensure there are no lint errors. Validate via npm run lint Note: Some reported issues can be automatically fixed by running npm run lint:fix
[x] Write tests and confirm existing functionality is not broken. Validate via npm test
[x] Write documentation
[x] Provide verification config / commands / resources
[x] Enable "Allow edits from maintainers" for this PR
[x] Update the messages below
Is this ready for review?: YES
Is it a breaking change?: NO
What did you implement:
release
pipeline automatically triggered on merges to master. There is no full-time team dedicated to this project, so trying to maintain a Git Flow workflow is unreasonable and will slow down features the community needs/wants. For now, thedev
branch will be retired, and all releases will go throughmaster
How did you implement it:
NPM_RELEASE_TYPE
according to rules stated aboveHow can we verify it:
Open a PR against master with one of the specified prefixes and check the resulting release type
Todos:
Note: Run
npm run test:ci
to run all validation checks on proposed changesValidate via
npm run lint
Note: Some reported issues can be automatically fixed by running
npm run lint:fix
Validate via
npm test
Is this ready for review?: YES Is it a breaking change?: NO