subvers
This commit is contained in:
parent
6bb0f2ab06
commit
fb4afed081
@ -1,6 +1,6 @@
|
||||
Package: remaster
|
||||
Source: remaster
|
||||
Version: 2.0.2
|
||||
Version: 2.0.2-2
|
||||
Architecture: all
|
||||
Maintainer: 6543 <6543@obermui.de>
|
||||
Installed-Size: <SIZE>
|
||||
|
@ -18,3 +18,7 @@
|
||||
|
||||
2018-05-13 - 2.0.2
|
||||
* 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
3
script/get_version.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
grep '@version ' src/remaster.sh | cut -d " " -f 2
|
@ -8,10 +8,10 @@ date=`date +%Y-%m-%d`
|
||||
version_sed=`echo $version | sed 's/\./\\./g'`
|
||||
|
||||
#nummer
|
||||
sed -i "s/@version\ .\..\../@version\ $version_sed/g" src/remaster.sh
|
||||
sed -i "/#@version\ /c\#@version\ $version_sed" src/remaster.sh
|
||||
|
||||
#datum
|
||||
sed -i "s/@date\ ....-..-../@date\ $date/g" src/remaster.sh
|
||||
sed -i "/#@date\ /c\#@date\ $date" src/remaster.sh
|
||||
}
|
||||
|
||||
[ -e "changes/remaster.md" ] && {
|
||||
@ -22,5 +22,5 @@ date=`date +%Y-%m-%d`
|
||||
}
|
||||
|
||||
[ -f "DEBIAN/control" ] && {
|
||||
sed -i "s/Version:\ .\..\../Version:\ $version_sed/g" "DEBIAN/control"
|
||||
sed -i "/Version:\ /c\Version:\ $version_sed" "DEBIAN/control"
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
#@version 2.0.2
|
||||
#@version 2.0.2-2
|
||||
#@autor 6543@obermui.de
|
||||
#@date 2018-05-13
|
||||
#@date 2018-05-20
|
||||
#@licence GNUv3
|
||||
|
||||
#####################################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user