1
0
mirror of https://git.ikl.sh/132ikl/liteshort.git synced 2023-08-10 21:13:04 +03:00
liteshort/package/build.sh

12 lines
414 B
Bash
Executable File

#!/bin/bash -e
VERSION="$(cat liteshort/version.py | cut -d '\"' -f2)"
cd package/
git log --no-walk --tags --pretty="liteshort (%S) unstable; urgency=medium%n%n * See the full changelog at:%n * https://github.com/132ikl/liteshort/releases/tag/v%S%n%n -- Steven Spangler <132@ikl.sh> %cD%n" --decorate=off | sed 's/(v/(/g' | sed 's/\/v/\//g' > debian/changelog
dpkg-buildpackage -us -uc --build=all
cd ../