1.9.1 • Published 8 months ago

@jcwillox/semantic-release-config v1.9.1

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

Semantic Release Config

License Version Publish Size Code style

The shared semantic release config and plugins for my projects.

Usage

Install the package:

# install the package and run semantic-release with built-in config
pnpm dlx @jcwillox/semantic-release-config

Extra args are passed straight to semantic-release so you can use --dry-run or --no-ci for example.

Environment Variables

The config is designed to be controlled through environment variables, all envs must be prefixed with SEMANTIC_RELEASE_.

OptionDescriptionDefault
NPM_ENABLEEnable/disable the npm plugintrue when package.json exists and private is not set to true
NPM_PKG_ROOTDirectory path to publish.
GITHUB_ASSETSAssets glob to upload to the GitHub release
GITHUB_DRAFTCreate a draft release on GitHubfalse
FORCE_RELEASEForces the specified release type to be made, one of major, minor, patch, autoauto
CMD_VERIFYRun a command, supports templating same as @semantic-release/exec
CMD_ANALYZE_COMMITSRun a command, supports templating same as @semantic-release/exec
CMD_VERIFY_RELEASERun a command, supports templating same as @semantic-release/exec
CMD_GENERATE_NOTESRun a command, supports templating same as @semantic-release/exec
CMD_PREPARERun a command, supports templating same as @semantic-release/exec
CMD_PUBLISHRun a command, supports templating same as @semantic-release/exec
CMD_CHANNELRun a command, supports templating same as @semantic-release/exec
CMD_SUCCESSRun a command, supports templating same as @semantic-release/exec
CHANGELOGEnable the changelog writer plugintrue when file or title is defined
CHANGELOG_TITLETitle to prepend the changelog file with (templatable)# Changelog
CHANGELOG_FILEThe file to write the changelog to (templatable)CHANGELOG.md
CHANGELOG_PREFIXPrefix to append before the release notes (templatable)## ${nextRelease.version}
GIT_COMMITEnable the @semantic-release/git plugintrue when changelog enabled, or message or assets is defined
GIT_MESSAGEOverride default commit messagerelease: ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}
GIT_ASSETSSpecify which assets to include in the commitautomatically uses changelog file if present and not overriden
1.9.1

8 months ago

1.9.0

8 months ago

1.8.1

10 months ago

1.8.0

1 year ago

1.7.1

1 year ago

1.7.0

1 year ago

1.6.0

1 year ago

1.5.0

2 years ago

1.4.0

2 years ago

1.3.0

2 years ago

1.2.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago