Open ceblanton opened 2 months ago
I'm disappointed this didn't work. It attempted to retrieve the git tag but came up with unknown:
setuptools.extern.packaging.version.InvalidVersion: Invalid version: 'unknown+g6e734a4'
This miniver
package is a lightweight version of versioneer
. I'll try versioneer next. I wonder if it's retrieving the tag of the build environment instead of the fre-cli source code.
What do we want to accomplish here?
Iterate version number every merge to main
?
I think we want two deploying pipelines. One for versioned releases, that is triggered by creation of a new git tag. And the second for the testing release, that is triggered by pushes to main
.
The part that I'd like from this PR is connecting the conda package version to the git tag version.
It doesn't work, for some reason. I'll change to draft and close it soon. I think replacing setuptools
with setuptools-scm
might be the most palatable solution to connect the conda package version to the git tag version.
are these PRs supposed to be drafts? are they still being worked on? the title having "draft" does not make this PR a draft.
Followed instructions on
https://github.com/jbweston/miniver
may resolve https://github.com/NOAA-GFDL/fre-cli/issues/109