meshtasticd-debian: Build multiple series (#5756)

This commit is contained in:
Austin
2025-01-05 13:24:05 -06:00
committed by GitHub
co-authored by GitHub
parent 031aecac66
commit d21d6c1301
4 changed files with 30 additions and 3 deletions
+7
View File
@@ -1,9 +1,16 @@
#!/usr/bin/bash
export DEBEMAIL="github-actions[bot]@users.noreply.github.com"
export PLATFORMIO_LIBDEPS_DIR=pio/libdeps
export PLATFORMIO_PACKAGES_DIR=pio/packages
# Download libraries to `libdeps`
platformio pkg install -e native
package=$(dpkg-parsechangelog --show-field Source)
pkg_version=$(dpkg-parsechangelog --show-field Version | cut -d- -f1)
dch --create --distribution $SERIES --package $package --newversion $pkg_version-ppa${REVISION::7}~$SERIES \
"GitHub Actions Automatic packaging for $SERIES"
# Build the source deb
debuild -S -k$GPG_KEY_ID