mirror of
https://github.com/tuxedocomputers/tuxedo-touchpad-switch.git
synced 2025-01-18 11:41:10 +01:00
Remove broken script
This commit is contained in:
parent
7b0489a539
commit
c19115f3ad
2 changed files with 0 additions and 30 deletions
5
debian/changelog
vendored
5
debian/changelog
vendored
|
@ -1,5 +0,0 @@
|
|||
tuxedo-touchpad-switch (0.0.2) focal; urgency=medium
|
||||
|
||||
* Initial release.
|
||||
|
||||
-- Werner Sembach <tux@tuxedocomputers.com> Mon, 01 Feb 2021 15:27:01 +0100
|
|
@ -1,25 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
SCRIPT=$(realpath "$0")
|
||||
SCRIPTPATH=$(dirname "$SCRIPT")
|
||||
cd "$SCRIPTPATH"
|
||||
|
||||
[[ $(cat debian/changelog) =~ \(([0-9]*.[0-9]*.[0-9]*)\) ]]
|
||||
LAST_CHANGELOG_VERSION=${BASH_REMATCH[1]}
|
||||
echo "Last changelog version: $LAST_CHANGELOG_VERSION"
|
||||
echo -n "New version (format: X.X.X): "
|
||||
read NEW_CHANGELOG_VERSION
|
||||
|
||||
if ! [[ $NEW_CHANGELOG_VERSION =~ ^([0-9]*.[0-9]*.[0-9]*)$ ]]; then
|
||||
echo "Version string not in the expected format. Exiting"
|
||||
exit 0;
|
||||
fi
|
||||
|
||||
dch -v $NEW_CHANGELOG_VERSION
|
||||
dch -r
|
||||
|
||||
git add debian/changelog
|
||||
git commit -m "Update debian/changelog to version $NEW_CHANGELOG_VERSION"
|
||||
git tag v$NEW_CHANGELOG_VERSION
|
||||
|
||||
debuild -uc -us
|
Loading…
Reference in a new issue