conventional-changelog/standard-version

Version at package.json not being bumped on CI environment

Open

#256 opened on Jul 17, 2018

View on GitHub
 (7 comments) (4 reactions) (0 assignees)JavaScript (7,442 stars) (825 forks)batch import
help wanted

Description

Hello,

Obviously I'm misunderstanding something about this library. I expect it to:

  1. bump version in package.json
  2. outputting changes to CHANGELOG
  3. committing package.json and CHANGELOG.md
  4. tag a release

Every time I try it on local it does exactly that, but when I do it on my CI environment the output is almost the same, except a little detail, it does not bump the package.json. The weird thing is that it creates the release tag that corresponds to the package.json version that it didn't made.

Instead it does:

  1. outputting changes to CHANGELOG.md
  2. committing CHANGELOG.md
  3. tagging release v1.3.0

If it properly detects that the version should be 1.3.0, why it is not bumping the package.json ? Taking a look at the generated changelog it only generates the changelog for the previous version, 1.2.0, so there is some weird alignment here...

Thanks in advance

Contributor guide