@sentry/craft 2.27.1 → 2.27.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/craft +11 -5
- package/package.json +1 -1
package/dist/craft
CHANGED
|
@@ -160517,9 +160517,15 @@ async function pushArchiveToGitRepository({
|
|
|
160517
160517
|
);
|
|
160518
160518
|
throw e4;
|
|
160519
160519
|
}
|
|
160520
|
-
if (parsedUrl.host === "github.com"
|
|
160521
|
-
|
|
160522
|
-
|
|
160520
|
+
if (parsedUrl.host === "github.com") {
|
|
160521
|
+
const ghToken = process.env.GITHUB_API_TOKEN || process.env.GITHUB_TOKEN;
|
|
160522
|
+
if (ghToken) {
|
|
160523
|
+
logger3?.info("Using provided github PAT token for authentication.");
|
|
160524
|
+
parsedUrl.password = ghToken;
|
|
160525
|
+
if (!parsedUrl.username) {
|
|
160526
|
+
parsedUrl.username = "x-access-token";
|
|
160527
|
+
}
|
|
160528
|
+
}
|
|
160523
160529
|
}
|
|
160524
160530
|
const authenticatedUrl = parsedUrl.toString();
|
|
160525
160531
|
const git = await cloneRepo(authenticatedUrl, directory);
|
|
@@ -161169,7 +161175,7 @@ var require_package6 = __commonJS({
|
|
|
161169
161175
|
"package.json"(exports2, module2) {
|
|
161170
161176
|
module2.exports = {
|
|
161171
161177
|
name: "@sentry/craft",
|
|
161172
|
-
version: "2.27.
|
|
161178
|
+
version: "2.27.2",
|
|
161173
161179
|
description: "The universal sentry workflow CLI",
|
|
161174
161180
|
main: "dist/craft",
|
|
161175
161181
|
repository: "https://github.com/getsentry/craft",
|
|
@@ -161348,7 +161354,7 @@ function getPackage() {
|
|
|
161348
161354
|
}
|
|
161349
161355
|
function getPackageVersion() {
|
|
161350
161356
|
const { version: version2 } = getPackage();
|
|
161351
|
-
const buildInfo = "
|
|
161357
|
+
const buildInfo = "8fd703e550582184dafbf70d704ce33786e459e6";
|
|
161352
161358
|
return buildInfo ? `${version2} (${buildInfo})` : version2;
|
|
161353
161359
|
}
|
|
161354
161360
|
function semVerToString(s6) {
|