bencatlab/AutoBashed Semantic Versioning (SemVer) for RELEASE and SNAPSHOT

Generate Semantic Version based on Conventional Commit, update whatever.json and bump Tag, via Bash

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Jul 27, 2023
License
Public domain

Pinned Snippet

workflow.ymlSHA-pinned
uses: bencatlab/autobashed-semver@8b0666c1309435a4540fd5de3b3e672c0de4fef6 # v2.0.1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
bump-tagBump Tag to Git repositorynotrue
file-updateUpdates file with new semver and add change to last commitnotrue
file-pathFile path to update (JSON ONLY)nopackage.json
majorWording for MAJORnoBREAKING
minorWording for MINORnofeat
prefixSet a prefix to your tagno""
enable-snapshotGenerate SNAPSHOT instead of RELEASEnofalse
snapshot-suffixSuffix for SNAPSHOT version (e.g: 1.0.1-SNAPSHOT)noSNAPSHOT
namedescription
semverNext generated SemVer as string