@atomist/npm-release-skill

Republish an NPM package after settings its version to the provided semantic version tag

Usage no npm install needed!

<script type="module">
  import atomistNpmReleaseSkill from 'https://cdn.skypack.dev/@atomist/npm-release-skill';
</script>

README

atomist/npm-release-skill

Republish an NPM package after settings its version to the provided semantic version tag


What it's useful for

In a typical release flow for NPM packages, you will publish pre-release versions that people can test. Once you are happy with a pre-release version, you would like to promote it to a release version, to make it easier for everyone to use. This skill facilitates that flow by automating it.

How it works

When a tag is pushed to a selected repository that looks like a release semantic version, this skill looks for a pre-release semantic version tag on the same commit, downloads that pre-release version package, unpacks the package, sets the version in the package to the release version, and then publishes the release version package.


Created by Atomist. Need Help? Join our Slack workspace.