Automatically update version in Debian build
This commit is contained in:
parent
e6878a623d
commit
d6ad192782
@ -1,5 +1,5 @@
|
||||
Package: ipentool
|
||||
Version: 1.0.0
|
||||
Version: VERSION
|
||||
Maintainer: Netsyms Technologies <admin@netsyms.com>
|
||||
Section: web
|
||||
Homepage: https://netsyms.com/apps/ipentool
|
||||
|
@ -5,6 +5,7 @@ rm -rf debian/usr/share/ipentool
|
||||
mkdir -p debian/usr/share/ipentool
|
||||
mkdir -p debian/usr/share/doc/ipentool
|
||||
rsync -rv "$1" debian/usr/share/ipentool
|
||||
sed -i "s/VERSION/$3/" debian/DEBIAN/control
|
||||
cp debian/DEBIAN/copyright debian/usr/share/doc/ipentool/
|
||||
cp "$2" debian/usr/share/ipentool/logo.svg
|
||||
dpkg-deb -b debian "out/ipentool_$3_all.deb"
|
||||
|
Loading…
x
Reference in New Issue
Block a user