File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ import { inc } from "semver";
77const RELEASE_TAG = process . env . TAG || "beta" ;
88const RELEASE_DRY_RUN = process . env . DRY_RUN || "true" ;
99const RELEASE_VERSION_TYPE = process . env . VERSION || "prerelease" ;
10- const RELEASE_NPM_TOKEN = process . env . NPM_TOKEN || "" ;
1110
1211const __dirname = url . fileURLToPath ( new URL ( "." , import . meta. url ) ) ;
1312const PKG_PATH = path . resolve ( __dirname , "../package.json" ) ;
@@ -27,14 +26,6 @@ console.info(`Updating version from ${currentVersion} to ${nextVersion}`);
2726pkg . version = nextVersion ;
2827fs . writeJsonSync ( PKG_PATH , pkg , { spaces : 2 } ) ;
2928
30- // Write npmrc
31- const npmrcPath = `${ process . env . HOME } /.npmrc` ;
32- console . info ( `Writing npmrc to ${ npmrcPath } ` ) ;
33- fs . writeFileSync (
34- npmrcPath ,
35- `//registry.npmjs.org/:_authToken=${ RELEASE_NPM_TOKEN } ` ,
36- ) ;
37-
3829// Publish to npm
3930console . info ( `Publishing to npm with tag ${ RELEASE_TAG } ` ) ;
4031const dryRun = RELEASE_DRY_RUN === "true" ? [ "--dry-run" ] : [ ] ;
You can’t perform that action at this time.
0 commit comments