release-it / bumper

Version read/write plugin for release-it

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

File bump should happen before release

alandtse opened this issue · comments

I understand that plugins happen asynchronously but since this updates files, it should happen prior to the git/mercurial plugins so the newly updated files can be committed to git prior to github/gitlab.

The bump lifecyle methods of each plugin are executed prior to the beforeRelease and then release methods of each plugin. So it should work correctly. What is the issue for you? Can you share more details?

Ok, I just realized I misread the logs during a dry-run. It does look like the proper files were bumped by bumper prior to the git commit. Sorry about the false alarm.