Add ppa-publish.sh

This commit is contained in:
Emil Lundberg 2017-12-18 15:44:07 +01:00
parent 5ddf07790a
commit 83ded6afc3
No known key found for this signature in database
GPG Key ID: 5B9688125FF0B636

17
dev-util/ppa-publish.sh Executable file
View File

@ -0,0 +1,17 @@
#!/bin/bash
# Generate `VERSION` file and run `../scripts/make-ppa`
#
# Command line arguments are passed through to `make-ppa`.
die() {
echo "Error occurred - exiting!" >&2
cleanup
exit 1
}
python3 compute-version.py yubioath-desktop- > VERSION
echo "Version:"
cat VERSION
../scripts/make-ppa "$@"