Fix variable expansion in Debian package filename
Some checks failed
Build bootupd with systemd-boot / build (push) Failing after 1m22s
Some checks failed
Build bootupd with systemd-boot / build (push) Failing after 1m22s
- Change single quotes to double quotes for echo statement - This allows BUILD_NUMBER and SHORT_COMMIT variables to expand properly - Add debugging to show files created in /workspace inside container - The .deb file should now have the correct filename with build info
This commit is contained in:
parent
a414059af0
commit
564f590163
1 changed files with 5 additions and 1 deletions
|
|
@ -116,7 +116,11 @@ jobs:
|
||||||
printf ' Features:\\n - systemd-boot support\\n' >> bootupd-package/DEBIAN/control && \
|
printf ' Features:\\n - systemd-boot support\\n' >> bootupd-package/DEBIAN/control && \
|
||||||
printf ' - Distribution-independent\\n - Safe bootloader updates\\n' >> bootupd-package/DEBIAN/control && \
|
printf ' - Distribution-independent\\n - Safe bootloader updates\\n' >> bootupd-package/DEBIAN/control && \
|
||||||
dpkg-deb --build bootupd-package bootupd_0.1.0+${BUILD_NUMBER}+${SHORT_COMMIT}_amd64.deb && \
|
dpkg-deb --build bootupd-package bootupd_0.1.0+${BUILD_NUMBER}+${SHORT_COMMIT}_amd64.deb && \
|
||||||
echo '✅ Debian package created: bootupd_0.1.0+${BUILD_NUMBER}+${SHORT_COMMIT}_amd64.deb'
|
echo \"✅ Debian package created: bootupd_0.1.0+${BUILD_NUMBER}+${SHORT_COMMIT}_amd64.deb\" && \
|
||||||
|
echo \"Files in /workspace after package creation:\" && \
|
||||||
|
ls -la /workspace/ && \
|
||||||
|
echo \"Looking for .deb files in /workspace:\" && \
|
||||||
|
ls -la /workspace/*.deb 2>/dev/null || echo \"No .deb files found in /workspace\"
|
||||||
"
|
"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue