wildlife-dynamics / ecoscope-workflows

An extensible task specification and compiler for local and distributed workflows.
https://ecoscope-workflows.readthedocs.org/
BSD 3-Clause "New" or "Revised" License
7 stars 4 forks source link

Add top-level `VERSION` file to artifacts that auto-updates on recompile #481

Closed cisaacstern closed 2 days ago

cisaacstern commented 3 days ago

We should add a VERSION file to the top level of the artifacts.

This would contain a two-element semantic version string reflecting the current version of the project.

If we are recompiling, we can carryover the previous version (like the lockfile) and then update it based on some heuristic about what constitutes a major or minor version bump. Per prior conversation, this heuristic would be:

If we are compiling (not recompiling/updating) we can optionally: