From e080cb08adce4905e42a56201e9984be1b4dda16 Mon Sep 17 00:00:00 2001 From: Mohsin Zaidi <2236875+smrz2001@users.noreply.github.com> Date: Wed, 31 Jan 2024 18:45:26 -0500 Subject: [PATCH] fix: use prerelease for nightly releases --- .github/workflows/reusable-release.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reusable-release.yml b/.github/workflows/reusable-release.yml index 9dde4736d0..e117f6932a 100644 --- a/.github/workflows/reusable-release.yml +++ b/.github/workflows/reusable-release.yml @@ -306,7 +306,7 @@ jobs: name: Initialize and build code run: npm ci && npm run build - - # These step explicitly do not push the release commit so the specified nightly branch will not be impacted + # These steps explicitly do not push the release commit, so the specified nightly branch will not be impacted. name: Publish all packages to NPM env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index 377a4885a7..5b2a2242bf 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "publish:release-candidate-followup": "npx lerna publish --dist-tag next --preid rc --no-verify-access --conventional-prerelease", "publish:release": "npx lerna publish --dist-tag latest --create-release github --no-verify-access --conventional-graduate bump minor", "publish:hotfix": "npx lerna publish --dist-tag latest --no-verify-access --conventional-graduate bump patch", - "publish:nightly": "npx lerna publish --dist-tag nightly --no-verify-access --no-push --canary prerelease --preid nightly", + "publish:nightly": "npx lerna publish --dist-tag nightly --no-verify-access --conventional-prerelease --preid nightly --no-push", "format": "npx prettier --write 'packages/**/src/**/*{.ts,.tsx,.js}'", "lint": "npx lerna run lint && npx prettier --check packages/**/src/**/*.ts", "clean": "npm run clean:deps && npm run clean:coverage && npm run clean:build-artifacts",