mermaid-js / mermaid-cli

Command line tool for the Mermaid library
MIT License
2.2k stars 207 forks source link

Version bump happens after tagging #697

Open terlar opened 3 weeks ago

terlar commented 3 weeks ago

Describe the bug When building from source and using the tags the version will be wrong (the previous one). Since the commit bumping the version in the package.json happens after the tagging.

To Reproduce Steps to reproduce the behavior:

  1. Checkout any tag
  2. Build the mermaid CLI
  3. mmdc --version
  4. Notice the invalid version (the previous release)

Expected behavior The version should match the version of the tag.