meshtasticd-debian: Cleanup debian versioning (#5758)

This commit is contained in:
Austin
2025-01-05 15:14:47 -05:00
committed by GitHub
parent 892e0922ff
commit 2f552d15e5
4 changed files with 18 additions and 34 deletions

View File

@@ -7,11 +7,10 @@ export PLATFORMIO_PACKAGES_DIR=pio/packages
platformio pkg install -e native
package=$(dpkg-parsechangelog --show-field Source)
pkg_version=$(dpkg-parsechangelog --show-field Version | cut -d- -f1)
rm -rf debian/changelog
dch --create --distribution $SERIES --package $package --newversion $pkg_version-ppa${REVISION::7}~$SERIES \
"GitHub Actions Automatic packaging for $SERIES"
dch --create --distribution $SERIES --package $package --newversion $PKG_VERSION~$SERIES \
"GitHub Actions Automatic packaging for $PKG_VERSION~$SERIES"
# Build the source deb
debuild -S -k$GPG_KEY_ID