updated ci
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Niklas 2020-06-01 19:46:48 +02:00
parent 9df10cc4c8
commit e1a9ae803d
Signed by: Gurkengewuerz
GPG Key ID: F234534ACADF282C

View File

@ -1,8 +1,9 @@
#!/usr/bin/env bash
#!/bin/bash
VERSION=$(grep setApplicationVersion ../src/main.cpp | head -n1 | cut -d \" -f2)
echo "Make Debian package for v$VERSION" >&2
cp deb work -r
mkdir work/ || true
cp deb/* work -r
sed "s/%ver/$VERSION/g" deb/DEBIAN/control > work/DEBIAN/control
mkdir -p work/usr/bin