Every merge should trigger a next release, which should not push back to the repo, to avoid noise. The latest version should be read from git tags and injected into package.json.
npm version from-git --no-git-tag-version can be used to sync package.json with the latest git tag.
git tag --sort=-version:refname can be used to return a semver-sorted list of the git tags.
Every merge should trigger a next release, which should not push back to the repo, to avoid noise. The latest version should be read from git tags and injected into
package.json
.npm version from-git --no-git-tag-version
can be used to syncpackage.json
with the latest git tag.git tag --sort=-version:refname
can be used to return a semver-sorted list of the git tags.This eventually be refactored out in https://github.com/shabados/actions/issues/84