Automatically create new template details XML file
This commit is contained in:
10
scripts/create-details-xml.sh
Executable file
10
scripts/create-details-xml.sh
Executable 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
|
||||
Reference in New Issue
Block a user