Try fixing DEB package

This commit is contained in:
Thomas Roehl 2022-10-13 16:49:58 +02:00
parent 317d36c9dd
commit e79601e2e8

View File

@ -130,7 +130,7 @@ DEB: scripts/cc-metric-collector.deb.control $(APP)
@make PREFIX=$${WORKSPACE} install @make PREFIX=$${WORKSPACE} install
@DEB_FILE="cc-metric-collector_$${VERS}_$${ARCH}.deb" @DEB_FILE="cc-metric-collector_$${VERS}_$${ARCH}.deb"
@dpkg-deb -b $${WORKSPACE} "$$DEB_FILE" @dpkg-deb -b $${WORKSPACE} "$$DEB_FILE"
@if [[ "$${GITHUB_ACTIONS}" == true ]]; then @if [ "$${GITHUB_ACTIONS}" = "true" ]; then
@ echo "::set-output name=DEB::$${DEB_FILE}" @ echo "::set-output name=DEB::$${DEB_FILE}"
@fi @fi
@rm -r "$${WORKSPACE}" @rm -r "$${WORKSPACE}"