From c71b67888161c35d3600ec201915f5b4f89e2afb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Allen=20Zhang=20=28=E5=BC=A0=E6=B6=9B=29?= Date: Mon, 11 Nov 2024 20:37:41 +0800 Subject: [PATCH] feat(canyon-uploader): update --- tools/canyon-uploader/package.json | 2 +- tools/canyon-uploader/src/commands/map.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/canyon-uploader/package.json b/tools/canyon-uploader/package.json index 677006cf..46dbf436 100644 --- a/tools/canyon-uploader/package.json +++ b/tools/canyon-uploader/package.json @@ -1,6 +1,6 @@ { "name": "canyon-uploader", - "version": "0.0.1-beta.6", + "version": "0.0.1-beta.7", "files": [ "bin", "dist" diff --git a/tools/canyon-uploader/src/commands/map.ts b/tools/canyon-uploader/src/commands/map.ts index d781a536..27b6c087 100644 --- a/tools/canyon-uploader/src/commands/map.ts +++ b/tools/canyon-uploader/src/commands/map.ts @@ -18,8 +18,8 @@ export async function mapCommand(params, options) { }; } await axios.post(dsn, { - projectID: projectID||process.env.CI_COMMIT_SHA, - sha: sha||process.env.CI_PROJECT_ID, + projectID: projectID||process.env.CI_PROJECT_ID, + sha: sha||process.env.CI_COMMIT_SHA, instrumentCwd: process.cwd(), coverage: JSON.stringify(data), });