Skip to content

Commit cbcf420

Browse files
tofikwestclaude
andauthored
fix(ci): fix Linux artifact names and consolidate all CI fixes (#2144)
- Replace broken sslcom/esigner-codesign action with direct CodeSignTool jar invocation via Java (the action fails to pass credentials) - Use staging AWS credentials for non-release branches, production for release branch - Fix Linux artifact filenames: .deb uses amd64, .AppImage uses x86_64 (not x64 as previously assumed) - Update portal download constants to match actual .deb filename Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 884e0d2 commit cbcf420

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/device-agent-release.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -422,16 +422,16 @@ jobs:
422422
aws s3 cp artifacts/CompAI-Device-Agent-${VERSION}-setup.exe \
423423
s3://${S3_BUCKET}/${PREFIX}/windows/latest-setup.exe
424424
425-
# Linux
426-
aws s3 cp artifacts/CompAI-Device-Agent-${VERSION}-x64.deb \
427-
s3://${S3_BUCKET}/${PREFIX}/linux/CompAI-Device-Agent-${VERSION}-x64.deb
428-
aws s3 cp artifacts/CompAI-Device-Agent-${VERSION}-x64.deb \
429-
s3://${S3_BUCKET}/${PREFIX}/linux/latest-x64.deb
430-
431-
aws s3 cp artifacts/CompAI-Device-Agent-${VERSION}-x64.AppImage \
432-
s3://${S3_BUCKET}/${PREFIX}/linux/CompAI-Device-Agent-${VERSION}-x64.AppImage
433-
aws s3 cp artifacts/CompAI-Device-Agent-${VERSION}-x64.AppImage \
434-
s3://${S3_BUCKET}/${PREFIX}/linux/latest-x64.AppImage
425+
# Linux (.deb uses amd64, .AppImage uses x86_64 architecture naming)
426+
aws s3 cp artifacts/CompAI-Device-Agent-${VERSION}-amd64.deb \
427+
s3://${S3_BUCKET}/${PREFIX}/linux/CompAI-Device-Agent-${VERSION}-amd64.deb
428+
aws s3 cp artifacts/CompAI-Device-Agent-${VERSION}-amd64.deb \
429+
s3://${S3_BUCKET}/${PREFIX}/linux/latest-amd64.deb
430+
431+
aws s3 cp artifacts/CompAI-Device-Agent-${VERSION}-x86_64.AppImage \
432+
s3://${S3_BUCKET}/${PREFIX}/linux/CompAI-Device-Agent-${VERSION}-x86_64.AppImage
433+
aws s3 cp artifacts/CompAI-Device-Agent-${VERSION}-x86_64.AppImage \
434+
s3://${S3_BUCKET}/${PREFIX}/linux/latest-x86_64.AppImage
435435
436436
- name: Upload auto-update files to S3
437437
env:

apps/portal/src/app/api/download-agent/constants.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ export const DOWNLOAD_TARGETS: Record<
2424
contentType: 'application/octet-stream',
2525
},
2626
linux: {
27-
key: `${S3_PREFIX}/linux/latest-x64.deb`,
28-
filename: 'CompAI-Device-Agent-x64.deb',
27+
key: `${S3_PREFIX}/linux/latest-amd64.deb`,
28+
filename: 'CompAI-Device-Agent-amd64.deb',
2929
contentType: 'application/vnd.debian.binary-package',
3030
},
3131
};

0 commit comments

Comments
 (0)