pybamm-team / liionpack

A battery pack simulation tool that uses the PyBaMM framework
https://liionpack.readthedocs.io/en/latest/
MIT License
90 stars 30 forks source link

Use `hatch-vcs` for automated versioning #270

Closed Saransh-cpp closed 9 months ago

Saransh-cpp commented 1 year ago

Now the maintainers won't have to manually bump the version on every release, instead, hatch-vcs will automatically read the version from the git tag tag created when a release is made on GitHub.

Some issues with the new v0.3.4 tag surfaced when the old tag was renamed (GitHub decided to create a new tag on the latest commit). I've fixed the issue in the repository itself, won't be visible in this PR.

codecov[bot] commented 1 year ago

Codecov Report

Merging #270 (6cce017) into develop (cb38ed5) will decrease coverage by 0.34%. The diff coverage is 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #270 +/- ## =========================================== - Coverage 94.77% 94.43% -0.34% =========================================== Files 11 11 Lines 1186 1186 =========================================== - Hits 1124 1120 -4 - Misses 62 66 +4 ```
Saransh-cpp commented 1 year ago

This should be ready now!