From 1af81ca0274232fa5ca0df9b38122003a8805dc2 Mon Sep 17 00:00:00 2001 From: Sean Marquez Date: Wed, 25 Sep 2024 01:27:03 +0000 Subject: [PATCH 1/2] add MAINTAINERS.md --- MAINTAINERS.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 MAINTAINERS.md diff --git a/MAINTAINERS.md b/MAINTAINERS.md new file mode 100644 index 00000000..74e9073e --- /dev/null +++ b/MAINTAINERS.md @@ -0,0 +1,17 @@ +# Release Process + +- Close all issues for planned release +- Checkout and pull `main` branch in git from origin +- Run `npm version ` (Update in package.json to be a semver pre-release, then commit, tag with semver pre-release and auto run `git push && git push --tags`) + - Triggers CI build from tag to call `npm run publish` (Publish node package to npm registry) +- Verify pre-released package + - Create a temporary node project + - In temporary project, run `npm install m30pm` + - Inspect that m30pm CLI app is installed as expected +- Run `npm version ` (Update in package.json to be a semver release, then commit, tag with semver release and auto run `git push && git push --tags`) + - Triggers CI build from tag to call `npm run publish` (Publish node package to npm registry) +- Create new release (on GitHub) + - select (final release) tag + - auto-generate release notes + - publish final release + From 814f497d247a298ac36abb25352b65a3c6d16495 Mon Sep 17 00:00:00 2001 From: Sean Marquez Date: Thu, 27 Feb 2025 21:15:11 +0000 Subject: [PATCH 2/2] update MAINTAINERS.md to reflect new workflow --- MAINTAINERS.md | 35 ++++++++++++++++++++++++++++------- 1 file changed, 28 insertions(+), 7 deletions(-) diff --git a/MAINTAINERS.md b/MAINTAINERS.md index 74e9073e..6b31e657 100644 --- a/MAINTAINERS.md +++ b/MAINTAINERS.md @@ -2,16 +2,37 @@ - Close all issues for planned release - Checkout and pull `main` branch in git from origin -- Run `npm version ` (Update in package.json to be a semver pre-release, then commit, tag with semver pre-release and auto run `git push && git push --tags`) - - Triggers CI build from tag to call `npm run publish` (Publish node package to npm registry) +- Run `npm version ` (Update in package.json to be a semver pre-release, then commit, tag with semver pre-release and auto run `git push && git push --tags`) + - Triggers CI build from tag to call `npm run buildAll && npm publish --access public` (Publish npm package to npmjs.com) - Verify pre-released package - - Create a temporary node project - - In temporary project, run `npm install m30pm` - - Inspect that m30pm CLI app is installed as expected -- Run `npm version ` (Update in package.json to be a semver release, then commit, tag with semver release and auto run `git push && git push --tags`) - - Triggers CI build from tag to call `npm run publish` (Publish node package to npm registry) + - Run m30pm (via npx) + - Run `npx m30pm --version` + - Run `npx m30pm project create --help` +- Run `npm version ` (Update in package.json to be a semver release, then commit, tag with semver release and auto run `git push && git push --tags`) + - Triggers CI build from tag to call `npm run buildAll && npm publish --access public` (Publish npm package to npmjs.com) - Create new release (on GitHub) - select (final release) tag - auto-generate release notes - publish final release +# Versioning + +## Goals + +- Enable Mach 30 to be able to produce incremental releases of m30pm + +## Schema + +- semantic version +- dash (except for final release) +- release keyword (except for final release) + - alpha.n (initial pre-releases numbered n) + - beta.n (optional intermediary pre-release numbered n) + - rc.n (release candidate, final pre-release numbered n) + +### Examples + +- v1.6.0-alpha.0 +- v1.6.0-beta.2 +- v1.6.0-rc.1 +- v1.6.0