Version 3.0.0
--publish-command
may now be used for private packages, allowing xyz to be configured to publish to a destination other than an npm registry (Docker Hub, for example). Previously xyz would run npm publish
only for public packages, but the publish command (which defaults to npm publish
) is now run unconditionally. Provide a publish command (such as :
or true
) to prevent xyz from running npm publish
. #41
Commands provided via --publish-command
may now refer to the VERSION
and PREVIOUS_VERSION
environment variables. #41
Touched but otherwise unchanged files are no longer considered unstaged changes. #43
xyz now includes a Bash implementation of npm's semver --increment
functionality. The implementation is only slightly more complex than the code which determined the path to the semver
executable, and will almost certainly prove less troublesome. #45
pre{major,minor,patch,release}
increments are now fully supported. #45