Skip to main content

npm-post

Commits updated package.json version field

This plugin is not essential but recommended to keep version field in sync

Required: No

Environment variables

Git variables

These variable names used for creating tag(s) and commit(s)

NameDescriptionType
GIT_USERNAMESpecify tag author nameVariables
GIT_EMAILSpecify tag author e-mailVariables

GPG (Git) variables

These variable names used for signing tag(s) and commit(s)

NameDescriptionType
GPG_NO_SIGNSkips Git SigningVariables
GPG_KEY_IDPublic GPG key/ring IDVariables
GPG_KEYPrivate GPG keySecrets
GPG_PASSPHRASEPrivate GPG passphraseSecrets

SSH (Git) variables

These variable names used for signing tag(s) and commit(s)

NameDescriptionType
SSH_NO_SIGNSkips Git SigningVariables
SSH_PUBLIC_KEYPublic SSH key contentSecrets
SSH_PRIVATE_KEYPrivate SSH key contentSecrets
SSH_KEY_PASSPHRASEPrivate SSH passphraseSecrets

npm variables

NameDescriptionType
NPM_TOKENUsed to publish to npm registrySecrets

Usage

Bash (Terminal)
git clone https://github.com/dalisoft/release-me.git --depth 1 .release-me
bash .release-me/release.sh --plugins=npm,npm-post,git