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() {
|
||||
execSync(`yarn nx-release 9999.0.2 --local`, {
|
||||
execSync(`yarn nx-release major --local`, {
|
||||
stdio: 'inherit',
|
||||
});
|
||||
}
|
||||
|
||||
@ -68,7 +68,6 @@ function hideFromGitIndex(uncommittedFiles: string[]) {
|
||||
if (options.local || options.tag === 'next') {
|
||||
originalLernaJson = readFileSync(lernaJsonPath);
|
||||
}
|
||||
|
||||
if (options.local) {
|
||||
/**
|
||||
* Hide changes from Lerna
|
||||
@ -86,7 +85,6 @@ function hideFromGitIndex(uncommittedFiles: string[]) {
|
||||
const publishOptions: Record<string, boolean | string | undefined> = {
|
||||
gitReset: false,
|
||||
distTag: options.tag,
|
||||
canary: options.canary,
|
||||
};
|
||||
|
||||
if (!options.skipPublish) {
|
||||
@ -127,11 +125,6 @@ function parseArgs() {
|
||||
alias: 'l',
|
||||
default: true,
|
||||
})
|
||||
.option('canary', {
|
||||
type: 'boolean',
|
||||
description: 'Create canary version',
|
||||
hidden: true,
|
||||
})
|
||||
.option('force', {
|
||||
type: 'boolean',
|
||||
description: "Don't use this unless you really know what it does",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user