Skip to content

Commit

Permalink
chore: next-auth release on beta
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsorban44 committed Oct 24, 2023
1 parent 65aa467 commit e8a6279
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
14 changes: 12 additions & 2 deletions patches/@[email protected]
Original file line number Diff line number Diff line change
@@ -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.`);
Expand Down
6 changes: 3 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e8a6279

Please sign in to comment.