Automatically create new template details XML file

This commit is contained in:
2022-04-04 14:01:18 +02:00
parent f809bbff20
commit 2ba77e7a9e
3 changed files with 110 additions and 1 deletions

10
scripts/create-details-xml.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
MAJOR=`cat serial/major`
MINOR=`cat serial/minor`
RELEASE=`cat serial/release`
export DATE=`date '+%Y-%m-%d'`
export VERSION="$MAJOR.$MINOR.$RELEASE"
cat res/templateDetails.tmpl.xml | envsubst > slt/templateDetails.xml