refactor: use consistent debian/changelog creation for release workflow

This commit is contained in:
Martin Wimpress 2023-11-10 16:31:59 +00:00
parent 99e7677665
commit d65d19211b
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3
1 changed files with 2 additions and 1 deletions

View File

@ -29,7 +29,8 @@ jobs:
sudo apt-get -y update
sudo apt-get -y install debhelper devscripts
REL_VER=$(grep "^readonly VERSION" quickemu | cut -d'"' -f2)
dch -v "${REL_VER}-1" --distribution=unstable "New upstream release."
rm debian/changelog
dch --package quickemu --newversion="${REL_VER}-1" --distribution=unstable "New upstream release." --create
dpkg-buildpackage --build=binary --no-check-builddeps --compression=gzip
gh release upload "${{ github.ref }}" "../quickemu_${REL_VER}-1_all.deb" --clobber