chore(repo): release major version on e2e runs (#11619)

This commit is contained in:
Miroslav Jonaš 2022-08-17 14:07:40 +02:00 committed by GitHub
parent 03c0109080
commit 6a7d95bc39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 8 deletions

View File

@ -42,7 +42,7 @@ async function buildPackagePublishAndCleanPorts() {
} }
async function updateVersionsAndPublishPackages() { async function updateVersionsAndPublishPackages() {
execSync(`yarn nx-release 9999.0.2 --local`, { execSync(`yarn nx-release major --local`, {
stdio: 'inherit', stdio: 'inherit',
}); });
} }

View File

@ -68,7 +68,6 @@ function hideFromGitIndex(uncommittedFiles: string[]) {
if (options.local || options.tag === 'next') { if (options.local || options.tag === 'next') {
originalLernaJson = readFileSync(lernaJsonPath); originalLernaJson = readFileSync(lernaJsonPath);
} }
if (options.local) { if (options.local) {
/** /**
* Hide changes from Lerna * Hide changes from Lerna
@ -86,7 +85,6 @@ function hideFromGitIndex(uncommittedFiles: string[]) {
const publishOptions: Record<string, boolean | string | undefined> = { const publishOptions: Record<string, boolean | string | undefined> = {
gitReset: false, gitReset: false,
distTag: options.tag, distTag: options.tag,
canary: options.canary,
}; };
if (!options.skipPublish) { if (!options.skipPublish) {
@ -127,11 +125,6 @@ function parseArgs() {
alias: 'l', alias: 'l',
default: true, default: true,
}) })
.option('canary', {
type: 'boolean',
description: 'Create canary version',
hidden: true,
})
.option('force', { .option('force', {
type: 'boolean', type: 'boolean',
description: "Don't use this unless you really know what it does", description: "Don't use this unless you really know what it does",