@nightborn/moon
v1.1.1
Published
Internal release cli of the Nightborn Agency
Downloads
4
Readme
moon
npx @nightborn/moon -version (patch)[patch|minor|major] -commit (latest)[latest|commit_hash] -targets (none)[environment(s) split by ,]
goal
DAY 1
commit 8 - v3.0.0 - staging
commit 7
commit 6 - v2.0.0
commit 5 - v1.1.2 - aldeu
commit 4
commit 3 - v1.1.0 - production
commit 2
commit 1 - v1.0.0
DAY 2
commit 8 - v3.0.0 - staging, production, aldeu
commit 7
commit 6 - v2.0.0
commit 5 - v1.1.2
commit 4
commit 3 - v1.1.0
commit 2
commit 1 - v1.0.0
description
Basics
Script should verify git history, create semantic versioning depending on the incoming argument (patch, minor or major) and create the git tag and push it.
- MAJOR version when you make incompatible API changes
- MINOR version when you add functionality in a backwards compatible manner
- PATCH version when you make backwards compatible bug fixes
Script should place the tag on the corresponding commit, either the provided hash or the latest one.
Script should add an extra tag (delete it if it already exists) with the provided environments (split by ,) provided as arguments.
Default values being
version - patch
commit - latest
targets - none