This commit is contained in:
6543 2018-05-20 20:32:55 +02:00
parent 6bb0f2ab06
commit fb4afed081
5 changed files with 13 additions and 6 deletions

View File

@ -1,6 +1,6 @@
Package: remaster Package: remaster
Source: remaster Source: remaster
Version: 2.0.2 Version: 2.0.2-2
Architecture: all Architecture: all
Maintainer: 6543 <6543@obermui.de> Maintainer: 6543 <6543@obermui.de>
Installed-Size: <SIZE> Installed-Size: <SIZE>

View File

@ -18,3 +18,7 @@


2018-05-13 - 2.0.2 2018-05-13 - 2.0.2
* hotfix-2.0.2 ( create release folder if not exist ) * hotfix-2.0.2 ( create release folder if not exist )

2018-05-20 - 2.0.2-2
* make email, proxy optional
* change Strukture.md

3
script/get_version.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash

grep '@version ' src/remaster.sh | cut -d " " -f 2

View File

@ -8,10 +8,10 @@ date=`date +%Y-%m-%d`
version_sed=`echo $version | sed 's/\./\\./g'` version_sed=`echo $version | sed 's/\./\\./g'`


#nummer #nummer
sed -i "s/@version\ .\..\../@version\ $version_sed/g" src/remaster.sh sed -i "/#@version\ /c\#@version\ $version_sed" src/remaster.sh


#datum #datum
sed -i "s/@date\ ....-..-../@date\ $date/g" src/remaster.sh sed -i "/#@date\ /c\#@date\ $date" src/remaster.sh
} }


[ -e "changes/remaster.md" ] && { [ -e "changes/remaster.md" ] && {
@ -22,5 +22,5 @@ date=`date +%Y-%m-%d`
} }


[ -f "DEBIAN/control" ] && { [ -f "DEBIAN/control" ] && {
sed -i "s/Version:\ .\..\../Version:\ $version_sed/g" "DEBIAN/control" sed -i "/Version:\ /c\Version:\ $version_sed" "DEBIAN/control"
} }

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
#@version 2.0.2 #@version 2.0.2-2
#@autor 6543@obermui.de #@autor 6543@obermui.de
#@date 2018-05-13 #@date 2018-05-20
#@licence GNUv3 #@licence GNUv3


##################################################################################### #####################################################################################