Skip to content
Snippets Groups Projects
Commit c159ccc1 authored by Lukáš Krupčík's avatar Lukáš Krupčík
Browse files

Auto year

parent e12149b9
No related branches found
No related tags found
4 merge requests!368Update prace.md to document the change from qprace to qprod as the default...,!367Update prace.md to document the change from qprace to qprod as the default...,!366Update prace.md to document the change from qprace to qprod as the default...,!323extended-acls-storage-section
...@@ -13,7 +13,7 @@ repo_name: sccs/docs.it4i.cz ...@@ -13,7 +13,7 @@ repo_name: sccs/docs.it4i.cz
repo_url: https://code.it4i.cz/sccs/docs.it4i.cz repo_url: https://code.it4i.cz/sccs/docs.it4i.cz
# Copyright # Copyright
copyright: Copyright (c) 2013-2020 IT4Innovations__VERSION__ copyright: Copyright (c) 2013-__YEAR__ IT4Innovations__VERSION__
theme: theme:
name: material name: material
......
#!/bin/bash #!/bin/bash
VER=$(git log --pretty=format:'/ ver. %h / %ai' -n 1) VER=$(git log --pretty=format:'/ ver. %h / %ai' -n 1)
sed "s,__VERSION__, $VER," mkdocs.yml -i sed "s,__VERSION__, $VER," mkdocs.yml -i
YEAR=$(date +"%Y")
sed "s,__YEAR__, $YEAR," mkdocs.yml -i
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment