Merge branch 'ci' into 'master'

ci: Add git revision and CI pipeline number to .deb artifacts

See merge request World/Phosh/squeekboard!499
This commit is contained in:
Guido Günther
2021-12-09 10:46:02 +00:00

View File

@ -47,6 +47,9 @@ build_deb:
- rm -f ../*.deb
- apt-get -y build-dep .
- apt-get -y install devscripts
- REV=$(git log -1 --format=%h)
- VER=$(dpkg-parsechangelog -SVersion)
- 'DEBFULLNAME="Librem5 CI" EMAIL="librem5-builds@lists.community.puri.sm" dch -v"$VER+librem5ci$CI_PIPELINE_ID.$REV" "$MSG"'
- debuild -i -us -uc -b
- cp ../*.deb .
@ -61,6 +64,9 @@ build_deb:arm64:
- rm -f ../*.deb
- apt-get -y build-dep .
- apt-get -y install devscripts
- REV=$(git log -1 --format=%h)
- VER=$(dpkg-parsechangelog -SVersion)
- 'DEBFULLNAME="Librem5 CI" EMAIL="librem5-builds@lists.community.puri.sm" dch -v"$VER+librem5ci$CI_PIPELINE_ID.$REV" "$MSG"'
- debuild -i -us -uc -b
- cp ../*.deb .