From d65d19211ba2ab20d8e9b114cc26c03053cba77a Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Fri, 10 Nov 2023 16:31:59 +0000 Subject: [PATCH] refactor: use consistent debian/changelog creation for release workflow --- .github/workflows/publish-release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 1179c25..043c259 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -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