Automated version generation (ticket #36)

Co-authored-by: Adam Bem <adam.bem@zoho.eu>
Reviewed-on: R11/release11-tools-web#80
This commit is contained in:
2023-02-28 11:45:39 +01:00
parent 3c927f91cf
commit f96f8270ce
6 changed files with 21 additions and 13 deletions

View File

@@ -0,0 +1,5 @@
#!/bin/sh
input="$(date +'%Y-%m-%d %H:%M')"
sed -i "s/\[\:VERSION\:\]/$input/g" /usr/share/nginx/html/index.html