diff --git a/.github/workflows/device-agent-release.yml b/.github/workflows/device-agent-release.yml index be4f0403a8..821e34b7e2 100644 --- a/.github/workflows/device-agent-release.yml +++ b/.github/workflows/device-agent-release.yml @@ -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: diff --git a/apps/portal/src/app/api/download-agent/constants.ts b/apps/portal/src/app/api/download-agent/constants.ts index f7ee429c69..f35394e9ff 100644 --- a/apps/portal/src/app/api/download-agent/constants.ts +++ b/apps/portal/src/app/api/download-agent/constants.ts @@ -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', }, };