Implemented simple automatic version insertion

This commit is contained in:
2023-02-28 09:54:03 +01:00
parent 3c927f91cf
commit ab22c44920
3 changed files with 18 additions and 5 deletions

View File

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