Closed xrow closed 1 year ago
Welcome to this project and thank you!' first issue
I made it work like...
extra:
scm:
latest: !ENV [CI_LATEST_TAG, '3.0.1']
{{ scm.latest }}
I think it sould be easier.
Well done for the workaround.
mkdocs-macros converts git.tag
into git describe --tags
.
What error message do you get? What would you get, if you ran the command from the shell?
I get no error just in empty string.
Also from the shell?
There is no warning or else in the cli just the confirmation that is is loading
DEBUG - [macros] - Variables: ['extra', 'config', 'environment', 'plugin', 'git', 'generator', 'social', 'consent']
Acutally for the git.tag thing I opened also https://github.com/fralau/mkdocs_macros_plugin/issues/143
What is the situation of this issue?
{{ git.tag }} was not working for me inside a gitlab pipeline but outside...
My idea was to access a env var instead, but I did not know how. I read a couple of sources on the internet but nothing worked for me. Maybe you can include a howto in the docs.