LCA-ActivityBrowser / activity-browser

GUI for brightway2
GNU Lesser General Public License v3.0
144 stars 57 forks source link

Create unique version string for AB dev package #1197

Closed haasad closed 8 months ago

haasad commented 8 months ago

Fixes #1193

Instead of using the date for the dev version, we create a version string from the latest tag and the number of commits since the latest tag. Eg. 2.9.4dev2. Like this there should be no more problems with conflicts for multiple dev releases on the same day. Also this versioning conveys more useful information than the date. The release date itself can always be checked on https://anaconda.org/bsteubing/activity-browser-dev/files

Checklist

coveralls commented 8 months ago

Coverage Status

coverage: 50.944%. remained the same when pulling 8b9a056ecc5438940671b76ff7c7874061bb6cb5 on fix/dev-version into 7438c37f690bcd730afe87bea073e13a12960561 on master.

marc-vdm commented 8 months ago

Thanks a lot for having a look at this! I've added @mrvisscher as reviewer, prehaps you had already seen his tag in some places, he's our new developer :)