chore(repo): release major version on e2e runs (#11619)
This commit is contained in:
parent
03c0109080
commit
6a7d95bc39
@ -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',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user