handle CLAS12 software versioning
- for now, the build scripts use whatever the latest main branch is, i.e., the true bleeding edge; this is not a great idea, especially for repos that do not keep the
mainbranch stable, so we should instead use fixed versions - agreed with @baltzell to source version numbers from
clas12-env- the
clas12module files could be modified to read the version numbers from some common file, so that bothclas12-envandclas12-containerscan just read that
- the
- 1st argument of build scripts should be the version number
- version number is preferably a
gittag, but may also be a commit hash - we want to publish the version numbers for any tagged release of
clas12-containersince those images won't be removed from the registry (preservation)- furthermore, the tag that we use here should be in sync with the
clas12modulefile version
- furthermore, the tag that we use here should be in sync with the