phovea/generator-phovea

Patch release receives a wrong version from automation script

Opened this issue · 0 comments

  • Release number or git hash:
  • OS:
  • Environment (local or deployed):

Steps to reproduce

  1. Switch to branch asteiner/changes_for_prepare_deployment
  2. Change the test flag in the index.ts to false
  3. Run yo phovea:prepare-release and select a patch release

Observed behavior

  • If version in the package.json is 5.0.1-SNAPSHOT, the one for the new patch release is changed to 5.0.2 instead of 5.0.1 by the generator.

Expected behavior

  • new patch version is 5.0.1