standard-version icon indicating copy to clipboard operation
standard-version copied to clipboard

fix: print version number that updater.writeVersion returns

Open brettdh opened this issue 3 years ago • 2 comments

For custom updaters that derive the new version from the file contents (e.g. newVersion = oldVersion + 1), the log output was showing the new computed semver version, rather than the actual version applied by the updater. This PR corrects the output for such custom updaters.

Closes expo-community/standard-version-expo#18. Closes expo-community/standard-version-expo#10.

brettdh avatar Oct 11 '20 01:10 brettdh

@jbottigliero Can we get this merged? It's causing some serious confusion at the moment.

sreuter avatar Jul 26 '21 11:07 sreuter

Since this package is now deprecated due to maintainer availability, I've forked it here, and released a version that includes this fix.

You can get it from npm here, by installing commit-and-tag-version with version equal to or greater than 9.6.0.

Thanks for making this easy by making a PR!

TimothyJones avatar May 28 '22 07:05 TimothyJones