2018-05-10 12:19:14 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2018-05-10 20:47:24 +00:00
|
|
|
version=$1
|
|
|
|
date=`date +%Y-%m-%d`
|
2018-05-10 12:19:14 +00:00
|
|
|
|
2018-05-10 20:47:24 +00:00
|
|
|
[ -e "src/remaster.sh" ] && {
|
|
|
|
|
|
|
|
version_sed=`echo $version | sed 's/\./\\./g'`
|
2018-05-10 12:19:14 +00:00
|
|
|
|
|
|
|
#nummer
|
2018-05-10 20:47:24 +00:00
|
|
|
sed -i "s/@version\ .\..\../@version\ $version_sed/g" src/remaster.sh
|
2018-05-10 12:19:14 +00:00
|
|
|
|
|
|
|
#datum
|
2018-05-10 20:47:24 +00:00
|
|
|
sed -i "s/@date\ ....-..-../@date\ $date/g" src/remaster.sh
|
|
|
|
}
|
|
|
|
|
|
|
|
[ -e "changes/remaster.md" ] && {
|
|
|
|
|
|
|
|
echo >> changes/remaster.md
|
|
|
|
echo $date - $version >> changes/remaster.md
|
|
|
|
echo pleace update changes/remaster.md
|
2018-05-10 12:19:14 +00:00
|
|
|
}
|