Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/workflows/device-agent-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -422,16 +422,16 @@ jobs:
aws s3 cp artifacts/CompAI-Device-Agent-${VERSION}-setup.exe \
s3://${S3_BUCKET}/${PREFIX}/windows/latest-setup.exe

# Linux
aws s3 cp artifacts/CompAI-Device-Agent-${VERSION}-x64.deb \
s3://${S3_BUCKET}/${PREFIX}/linux/CompAI-Device-Agent-${VERSION}-x64.deb
aws s3 cp artifacts/CompAI-Device-Agent-${VERSION}-x64.deb \
s3://${S3_BUCKET}/${PREFIX}/linux/latest-x64.deb

aws s3 cp artifacts/CompAI-Device-Agent-${VERSION}-x64.AppImage \
s3://${S3_BUCKET}/${PREFIX}/linux/CompAI-Device-Agent-${VERSION}-x64.AppImage
aws s3 cp artifacts/CompAI-Device-Agent-${VERSION}-x64.AppImage \
s3://${S3_BUCKET}/${PREFIX}/linux/latest-x64.AppImage
# Linux (.deb uses amd64, .AppImage uses x86_64 architecture naming)
aws s3 cp artifacts/CompAI-Device-Agent-${VERSION}-amd64.deb \
s3://${S3_BUCKET}/${PREFIX}/linux/CompAI-Device-Agent-${VERSION}-amd64.deb
aws s3 cp artifacts/CompAI-Device-Agent-${VERSION}-amd64.deb \
s3://${S3_BUCKET}/${PREFIX}/linux/latest-amd64.deb

aws s3 cp artifacts/CompAI-Device-Agent-${VERSION}-x86_64.AppImage \
s3://${S3_BUCKET}/${PREFIX}/linux/CompAI-Device-Agent-${VERSION}-x86_64.AppImage
aws s3 cp artifacts/CompAI-Device-Agent-${VERSION}-x86_64.AppImage \
s3://${S3_BUCKET}/${PREFIX}/linux/latest-x86_64.AppImage

- name: Upload auto-update files to S3
env:
Expand Down
4 changes: 2 additions & 2 deletions apps/portal/src/app/api/download-agent/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ export const DOWNLOAD_TARGETS: Record<
contentType: 'application/octet-stream',
},
linux: {
key: `${S3_PREFIX}/linux/latest-x64.deb`,
filename: 'CompAI-Device-Agent-x64.deb',
key: `${S3_PREFIX}/linux/latest-amd64.deb`,
filename: 'CompAI-Device-Agent-amd64.deb',
contentType: 'application/vnd.debian.binary-package',
},
};