doccaz / scc-tools

A set of simple tools to interact with SUSE Customer Center (SCC)
MIT License
13 stars 1 forks source link

Implement a --version parameter #24

Closed doccaz closed 1 year ago

doccaz commented 2 years ago

A colleague asked for adding a --version parameter. This is a bit tricky when dealing with GIT, unless I start using proper release tags and using git archive to do so. Even so, it seems things are a wee bit more complicated to have something like the old "$Id$" string in other version control systems.

doccaz commented 2 years ago

I really would like this to be automatic, and not use fixed strings anywhere (which I certainly will someday forget to update). Suggestions welcome.

roseswe commented 2 years ago

Please have a look at https://github.com/roseswe/gittag I use this e.g. with https://github.com/cfg2html/cfg2html

doccaz commented 1 year ago

Closing this for now. I might add a proper pre-commit script later.