Created better structure of files

This commit is contained in:
Christian Wolf
2017-07-16 16:59:00 +02:00
parent de302ef23c
commit a996c5545e
8 changed files with 44 additions and 9 deletions

19
scripts/create-release.sh Executable file
View File

@@ -0,0 +1,19 @@
#!/bin/bash
MAJOR=`cat serial/major`
MINOR=`cat serial/minor`
RELEASE=`cat serial/release`
TOTRELEASE="$MAJOR.$MINOR.$RELEASE"
outname="releases/slt-$TOTRELEASE.tar.gz"
mkdir -p releases
# First check if the named release exists already
if [ -f "$outname" ]; then
echo "The file $outname existes already. Either remove the release from the folder manually or increase the release version."
echo "Aborting."
exit 1
fi
cp slt.tar.gz "$outname"

0
scripts/create-update-xml.sh Executable file
View File