E3SM-Project / pace

Performance Analytics for Computational Experiments
https://pace.ornl.gov
BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

Model version #102

Open sarats opened 2 years ago

sarats commented 2 years ago

Update git describe output to only match certain patterns (releases)

https://github.com/ESMCI/cime/blob/master/CIME/utils.py

https://git-scm.com/docs/git-describe

--match pattern

Only consider tags matching the given glob(7) pattern, excluding the "refs/tags/" prefix. If used with --all, it also considers local branches and remote-tracking references matching the pattern, excluding respectively "refs/heads/" and "refs/remotes/" prefix; references of other types are never considered. If given multiple times, a list of patterns will be accumulated, and tags matching any of the patterns will be considered. Use --no-match to clear and reset the list of patterns.