fix(ci): nfpm does not expand env vars in contents src paths

Pre-flight caught it: the deb/rpm step failed with the literal
'Glob failed: ${QBZ_BINARY}: no matching files'. The workflow already
places the stripped binary at ./qbz, so the manifest now uses the
literal path.

cc
This commit is contained in:
vicrodh committed 2026-07-04 02:56:12 -06:00
1 parent cc353d46d7
commit 0d1a9b96f6
1 file changed
+5 -1
+5 -1
View File
@@ -27,7 +27,11 @@ homepage: https://github.com/vicrodh/qbz
license: MIT
contents:
- src: ${QBZ_BINARY}
# LITERAL path (pre-flight 2026-07-04 caught this: nfpm does NOT expand
# env vars in contents[].src — it printed the literal ${QBZ_BINARY} and
# failed the glob). The workflow places the stripped binary at ./qbz
# before invoking nfpm; keep both sides in sync.
- src: ./qbz
dst: /usr/bin/qbz
file_info:
mode: 0755