CI: the nfpm sed pointed at a binary name that no longer exists
All checks were successful
CI/CD / typecheck (pull_request) Successful in 47s
CI/CD / lint (pull_request) Successful in 1m11s
CI/CD / test (pull_request) Successful in 1m11s
CI/CD / build (pull_request) Successful in 1m24s
CI/CD / publish-rpm (pull_request) Has been skipped
CI/CD / publish-deb (pull_request) Has been skipped
All checks were successful
CI/CD / typecheck (pull_request) Successful in 47s
CI/CD / lint (pull_request) Successful in 1m11s
CI/CD / test (pull_request) Successful in 1m11s
CI/CD / build (pull_request) Successful in 1m24s
CI/CD / publish-rpm (pull_request) Has been skipped
CI/CD / publish-deb (pull_request) Has been skipped
nfpm.yaml ships ./dist/labctl; the workflow's sed rewrote `src: ./dist/lab` -- a pattern that matches nothing -- so nfpm looked for ./dist/labctl, which the bun bundle steps never produce. This job had never run before (every earlier run died at pnpm setup), so the drift was invisible. Rewrite the pattern the file actually contains. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V6HNx6cyr4J4CiMGCy1wkF
This commit is contained in:
@@ -146,13 +146,13 @@ jobs:
|
|||||||
|
|
||||||
- name: Package x86_64 RPM + DEB
|
- name: Package x86_64 RPM + DEB
|
||||||
run: |
|
run: |
|
||||||
sed -e 's|^arch:.*|arch: amd64|' -e 's|src: ./dist/lab$|src: ./dist/lab-x86_64|' nfpm.yaml > /tmp/nfpm-x86_64.yaml
|
sed -e 's|^arch:.*|arch: amd64|' -e 's|src: ./dist/labctl$|src: ./dist/lab-x86_64|' nfpm.yaml > /tmp/nfpm-x86_64.yaml
|
||||||
nfpm pkg --config /tmp/nfpm-x86_64.yaml --packager rpm --target dist/
|
nfpm pkg --config /tmp/nfpm-x86_64.yaml --packager rpm --target dist/
|
||||||
nfpm pkg --config /tmp/nfpm-x86_64.yaml --packager deb --target dist/
|
nfpm pkg --config /tmp/nfpm-x86_64.yaml --packager deb --target dist/
|
||||||
|
|
||||||
- name: Package arm64 RPM + DEB
|
- name: Package arm64 RPM + DEB
|
||||||
run: |
|
run: |
|
||||||
sed -e 's|^arch:.*|arch: arm64|' -e 's|src: ./dist/lab$|src: ./dist/lab-arm64|' nfpm.yaml > /tmp/nfpm-arm64.yaml
|
sed -e 's|^arch:.*|arch: arm64|' -e 's|src: ./dist/labctl$|src: ./dist/lab-arm64|' nfpm.yaml > /tmp/nfpm-arm64.yaml
|
||||||
nfpm pkg --config /tmp/nfpm-arm64.yaml --packager rpm --target dist/
|
nfpm pkg --config /tmp/nfpm-arm64.yaml --packager rpm --target dist/
|
||||||
nfpm pkg --config /tmp/nfpm-arm64.yaml --packager deb --target dist/
|
nfpm pkg --config /tmp/nfpm-arm64.yaml --packager deb --target dist/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user