chore: next-auth release on beta

This commit is contained in:
Balázs Orbán
2023-10-23 17:42:14 -07:00
parent 65aa467c0e
commit e8a6279e47
2 changed files with 15 additions and 5 deletions

View File

@@ -1,8 +1,18 @@
diff --git a/dist/publish.js b/dist/publish.js
index 09a0c10584159beefa7a915ad92d46601da5ad45..01959c09b98ef8e7b1c2c6c481add782457e6921 100644
index 09a0c10584159beefa7a915ad92d46601da5ad45..bbb63c7e687c1ca4b715b3a80a512d973a729da7 100644
--- a/dist/publish.js
+++ b/dist/publish.js
@@ -55,7 +55,9 @@ export async function publish(packages, options) {
@@ -22,6 +22,9 @@ export async function publish(packages, options) {
await pkgJson.update(pkg.relativeDir, { version: pkg.newVersion });
log.info("package.json file has been written, publishing.");
let npmPublish = `pnpm publish --access public --registry=https://registry.npmjs.org --no-git-checks`;
+ if(pkg.name === "next-auth") {
+ npmPublish += " --tag beta";
+ }
if (dryRun) {
npmPublish += " --dry-run";
if (!options.verbose)
@@ -55,7 +58,9 @@ export async function publish(packages, options) {
execSync(`git tag ${gitTag}`);
execSync("git push --tags");
log.info(`Creating GitHub release notes.`);

6
pnpm-lock.yaml generated
View File

@@ -6,7 +6,7 @@ settings:
patchedDependencies:
'@balazsorban/monorepo-release@0.3.1':
hash: lwil2v6lrmyuiogkuptpgelrem
hash: k2rd2cfbuebwysidpak4ju23xq
path: patches/@balazsorban__monorepo-release@0.3.1.patch
importers:
@@ -18,7 +18,7 @@ importers:
version: 1.10.0
'@balazsorban/monorepo-release':
specifier: 0.3.1
version: 0.3.1(patch_hash=lwil2v6lrmyuiogkuptpgelrem)
version: 0.3.1(patch_hash=k2rd2cfbuebwysidpak4ju23xq)
'@types/jest':
specifier: ^28.1.3
version: 28.1.3
@@ -6216,7 +6216,7 @@ packages:
'@babel/helper-validator-identifier': 7.22.20
to-fast-properties: 2.0.0
/@balazsorban/monorepo-release@0.3.1(patch_hash=lwil2v6lrmyuiogkuptpgelrem):
/@balazsorban/monorepo-release@0.3.1(patch_hash=k2rd2cfbuebwysidpak4ju23xq):
resolution: {integrity: sha512-ZMd6WVcUkGFYTkqPMTxAeNGrIfMZneKiIDOo1gC/NqWjGSC69zVCFQDASKPwWitJoYj3qWIlL9PXFiQ0J0ikGQ==}
engines: {node: '>=18.18.0'}
hasBin: true