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:
1 file changed
+5
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user