Skip to content

Commit 9e18298

Browse files
committed
chore(automation-utils): skip marketplace publish for items without correct appNumber
1 parent f65855e commit 9e18298

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

automation/utils/bin/rui-publish-marketplace.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ async function main(): Promise<void> {
1212

1313
assert.ok(tag, "env.TAG is empty");
1414

15+
if (marketplace.appNumber === -1) {
16+
console.log(`Skipping release process for tag ${fgGreen(tag)}. appNumber is set to -1 in package.json.`);
17+
process.exit(2);
18+
}
19+
1520
console.log(`Starting release process for tag ${fgGreen(tag)}`);
1621

1722
const artifactUrl = await gh.getMPKReleaseArtifactUrl(tag);

0 commit comments

Comments
 (0)