punkave/tag-old-releases

Should this not switch to the default branch before running?

Opened this issue · 0 comments

abea commented

exec('git checkout --quiet master');

Right now this only switches to the default branch once it's ready to do the tagging. But if you run this while on a feature branch that's a version ahead of the default you will end up with a tag for that "future" version even though it's not actually ready.