pull/23/head
6543 5 years ago
parent 6bb0f2ab06
commit fb4afed081
  1. 2
      DEBIAN/control
  2. 4
      changes/remaster.md
  3. 3
      script/get_version.sh
  4. 6
      script/set_version.sh
  5. 4
      src/remaster.sh

@ -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

@ -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…
Cancel
Save