ci: Add git revision and CI pipeline number to .deb artifacts
This commit is contained in:
@ -47,6 +47,9 @@ build_deb:
|
|||||||
- rm -f ../*.deb
|
- rm -f ../*.deb
|
||||||
- apt-get -y build-dep .
|
- apt-get -y build-dep .
|
||||||
- apt-get -y install devscripts
|
- 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
|
- debuild -i -us -uc -b
|
||||||
- cp ../*.deb .
|
- cp ../*.deb .
|
||||||
|
|
||||||
@ -61,6 +64,9 @@ build_deb:arm64:
|
|||||||
- rm -f ../*.deb
|
- rm -f ../*.deb
|
||||||
- apt-get -y build-dep .
|
- apt-get -y build-dep .
|
||||||
- apt-get -y install devscripts
|
- 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
|
- debuild -i -us -uc -b
|
||||||
- cp ../*.deb .
|
- cp ../*.deb .
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user