template/scripts/create-details-xml.sh

11 lines
235 B
Bash
Executable File

#!/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