@catladder/cli 0.0.0-main-d958deea → 0.0.0-main-4891a63e
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/bundles/catenv/index.js +5 -3
- package/dist/bundles/cli/index.js +5 -3
- package/dist/pipeline/src/pipeline/gitlab/gitlabReleaseJobs.d.ts +2 -0
- package/dist/pipeline/src/pipeline/gitlab/gitlabReleaseJobs.js +5 -3
- package/dist/pipeline/src/pipeline/gitlab/gitlabReleaseJobs.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -7186,7 +7186,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
7186
7186
|
exports.getGitlabReleaseJobs = void 0;
|
|
7187
7187
|
const rules_1 = __nccwpck_require__(7551);
|
|
7188
7188
|
const runner_1 = __nccwpck_require__(4058);
|
|
7189
|
-
const EXPIRED_TOKEN_HELP = "echo '👉
|
|
7189
|
+
const EXPIRED_TOKEN_HELP = "echo '👉 If this job failed with access denied, the project access token might be invald - run `project-renew-token` in catladder CLI to fix.'";
|
|
7190
7190
|
const baseReleaseRules = [
|
|
7191
7191
|
rules_1.RULE_NEVER_ON_RELEASE_COMMIT,
|
|
7192
7192
|
rules_1.RULE_NEVER_ON_AGENT_TRIGGER,
|
|
@@ -7198,7 +7198,8 @@ const getGitlabReleaseJobs = (config) => {
|
|
|
7198
7198
|
["create release"]: {
|
|
7199
7199
|
stage: "release",
|
|
7200
7200
|
image: (0, runner_1.getRunnerImage)("semantic-release"),
|
|
7201
|
-
script: ["semanticRelease"
|
|
7201
|
+
script: ["semanticRelease"],
|
|
7202
|
+
after_script: [EXPIRED_TOKEN_HELP],
|
|
7202
7203
|
rules: [
|
|
7203
7204
|
...baseReleaseRules,
|
|
7204
7205
|
{
|
|
@@ -7214,7 +7215,8 @@ const getGitlabReleaseJobs = (config) => {
|
|
|
7214
7215
|
["⚠️ force create release"]: {
|
|
7215
7216
|
stage: "release",
|
|
7216
7217
|
image: (0, runner_1.getRunnerImage)("semantic-release"),
|
|
7217
|
-
script: ["semanticRelease"
|
|
7218
|
+
script: ["semanticRelease"],
|
|
7219
|
+
after_script: [EXPIRED_TOKEN_HELP],
|
|
7218
7220
|
needs: [],
|
|
7219
7221
|
rules: [
|
|
7220
7222
|
...baseReleaseRules,
|
|
@@ -10441,7 +10441,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
10441
10441
|
exports.getGitlabReleaseJobs = void 0;
|
|
10442
10442
|
const rules_1 = __nccwpck_require__(47551);
|
|
10443
10443
|
const runner_1 = __nccwpck_require__(4058);
|
|
10444
|
-
const EXPIRED_TOKEN_HELP = "echo '👉
|
|
10444
|
+
const EXPIRED_TOKEN_HELP = "echo '👉 If this job failed with access denied, the project access token might be invald - run `project-renew-token` in catladder CLI to fix.'";
|
|
10445
10445
|
const baseReleaseRules = [
|
|
10446
10446
|
rules_1.RULE_NEVER_ON_RELEASE_COMMIT,
|
|
10447
10447
|
rules_1.RULE_NEVER_ON_AGENT_TRIGGER,
|
|
@@ -10453,7 +10453,8 @@ const getGitlabReleaseJobs = (config) => {
|
|
|
10453
10453
|
["create release"]: {
|
|
10454
10454
|
stage: "release",
|
|
10455
10455
|
image: (0, runner_1.getRunnerImage)("semantic-release"),
|
|
10456
|
-
script: ["semanticRelease"
|
|
10456
|
+
script: ["semanticRelease"],
|
|
10457
|
+
after_script: [EXPIRED_TOKEN_HELP],
|
|
10457
10458
|
rules: [
|
|
10458
10459
|
...baseReleaseRules,
|
|
10459
10460
|
{
|
|
@@ -10469,7 +10470,8 @@ const getGitlabReleaseJobs = (config) => {
|
|
|
10469
10470
|
["⚠️ force create release"]: {
|
|
10470
10471
|
stage: "release",
|
|
10471
10472
|
image: (0, runner_1.getRunnerImage)("semantic-release"),
|
|
10472
|
-
script: ["semanticRelease"
|
|
10473
|
+
script: ["semanticRelease"],
|
|
10474
|
+
after_script: [EXPIRED_TOKEN_HELP],
|
|
10473
10475
|
needs: [],
|
|
10474
10476
|
rules: [
|
|
10475
10477
|
...baseReleaseRules,
|
|
@@ -4,6 +4,7 @@ export declare const getGitlabReleaseJobs: (config: Config) => {
|
|
|
4
4
|
stage: string;
|
|
5
5
|
image: string;
|
|
6
6
|
script: string[];
|
|
7
|
+
after_script: string[];
|
|
7
8
|
rules: {
|
|
8
9
|
if?: string;
|
|
9
10
|
changes?: import("../../types/gitlab-ci-yml").Changes;
|
|
@@ -19,6 +20,7 @@ export declare const getGitlabReleaseJobs: (config: Config) => {
|
|
|
19
20
|
stage: string;
|
|
20
21
|
image: string;
|
|
21
22
|
script: string[];
|
|
23
|
+
after_script: string[];
|
|
22
24
|
needs: any[];
|
|
23
25
|
rules: {
|
|
24
26
|
if?: string;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getGitlabReleaseJobs = void 0;
|
|
4
4
|
const rules_1 = require("../../rules");
|
|
5
5
|
const runner_1 = require("../../runner");
|
|
6
|
-
const EXPIRED_TOKEN_HELP = "echo '👉
|
|
6
|
+
const EXPIRED_TOKEN_HELP = "echo '👉 If this job failed with access denied, the project access token might be invald - run `project-renew-token` in catladder CLI to fix.'";
|
|
7
7
|
const baseReleaseRules = [
|
|
8
8
|
rules_1.RULE_NEVER_ON_RELEASE_COMMIT,
|
|
9
9
|
rules_1.RULE_NEVER_ON_AGENT_TRIGGER,
|
|
@@ -15,7 +15,8 @@ const getGitlabReleaseJobs = (config) => {
|
|
|
15
15
|
["create release"]: {
|
|
16
16
|
stage: "release",
|
|
17
17
|
image: (0, runner_1.getRunnerImage)("semantic-release"),
|
|
18
|
-
script: ["semanticRelease"
|
|
18
|
+
script: ["semanticRelease"],
|
|
19
|
+
after_script: [EXPIRED_TOKEN_HELP],
|
|
19
20
|
rules: [
|
|
20
21
|
...baseReleaseRules,
|
|
21
22
|
{
|
|
@@ -31,7 +32,8 @@ const getGitlabReleaseJobs = (config) => {
|
|
|
31
32
|
["⚠️ force create release"]: {
|
|
32
33
|
stage: "release",
|
|
33
34
|
image: (0, runner_1.getRunnerImage)("semantic-release"),
|
|
34
|
-
script: ["semanticRelease"
|
|
35
|
+
script: ["semanticRelease"],
|
|
36
|
+
after_script: [EXPIRED_TOKEN_HELP],
|
|
35
37
|
needs: [],
|
|
36
38
|
rules: [
|
|
37
39
|
...baseReleaseRules,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gitlabReleaseJobs.js","sourceRoot":"","sources":["../../../../../../pipeline/src/pipeline/gitlab/gitlabReleaseJobs.ts"],"names":[],"mappings":";;;AAAA,uCAMqB;AACrB,yCAA8C;AAI9C,MAAM,kBAAkB,GACtB,
|
|
1
|
+
{"version":3,"file":"gitlabReleaseJobs.js","sourceRoot":"","sources":["../../../../../../pipeline/src/pipeline/gitlab/gitlabReleaseJobs.ts"],"names":[],"mappings":";;;AAAA,uCAMqB;AACrB,yCAA8C;AAI9C,MAAM,kBAAkB,GACtB,gJAAgJ,CAAC;AAEnJ,MAAM,gBAAgB,GAAG;IACvB,oCAA4B;IAC5B,mCAA2B;IAC3B,8BAAsB;CACvB,CAAC;AACK,MAAM,oBAAoB,GAAG,CAAC,MAAc,EAAE,EAAE;;IACrD,OAAO;QACL,CAAC,gBAAgB,CAAC,EAAE;YAClB,KAAK,EAAE,SAAS;YAChB,KAAK,EAAE,IAAA,uBAAc,EAAC,kBAAkB,CAAC;YACzC,MAAM,EAAE,CAAC,iBAAiB,CAAC;YAC3B,YAAY,EAAE,CAAC,kBAAkB,CAAC;YAClC,KAAK,EAAE;gBACL,GAAG,gBAAgB;gBACnB;oBACE,EAAE,EAAE,kCAA0B;oBAC9B,IAAI,EAAE,CAAA,MAAA,MAAM,CAAC,QAAQ,0CAAE,IAAI,MAAK,MAAM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,QAAQ;iBACjE;gBACD;oBACE,EAAE,EAAE,oCAA4B;oBAChC,IAAI,EAAE,QAAQ;iBACf;aACqB;SACzB;QACD,CAAC,yBAAyB,CAAC,EAAE;YAC3B,KAAK,EAAE,SAAS;YAChB,KAAK,EAAE,IAAA,uBAAc,EAAC,kBAAkB,CAAC;YACzC,MAAM,EAAE,CAAC,iBAAiB,CAAC;YAC3B,YAAY,EAAE,CAAC,kBAAkB,CAAC;YAClC,KAAK,EAAE,EAAE;YACT,KAAK,EAAE;gBACL,GAAG,gBAAgB;gBACnB;oBACE,EAAE,EAAE,kCAA0B;oBAC9B,IAAI,EAAE,QAAQ;iBACf;gBACD;oBACE,EAAE,EAAE,oCAA4B;oBAChC,IAAI,EAAE,QAAQ;iBACf;aACqB;SACzB;KACF,CAAC;AACJ,CAAC,CAAC;AAtCW,QAAA,oBAAoB,wBAsC/B"}
|