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:
Checkout any tag
Build the mermaid CLI
mmdc --version
Notice the invalid version (the previous release)
Expected behavior
The version should match the version of the tag.
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:
mmdc --version
Expected behavior The version should match the version of the tag.