Skip to content

Commit 6b5eaa2

Browse files
authored
fix: release script (#81)
1 parent 64c3949 commit 6b5eaa2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
"format:code:eslint": "eslint \"**/*.{ts,tsx}\" --fix",
4545
"format:yarn:lock": "yarn-deduplicate yarn.lock --strategy highest",
4646
"lerna:version:up": "lerna version --yes",
47-
"release:github:registry": "pnpm publish --registry https://npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}",
48-
"release:npm:registry": "pnpm publish",
47+
"release:github:registry": "pnpm publish --no-git-checks --registry https://npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}",
48+
"release:npm:registry": "pnpm publish --no-git-checks",
4949
"test": "run-p test:depcruise test:jest test:code:gen test:snapshot",
5050
"test:code:gen": "pnpm ts ./scripts/testCodeGen.ts",
5151
"test:depcruise": "depcruise --validate .dependency-cruiser.js src",

scripts/build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const generateVersionTsFile = () => {
1212
const codes: string[] = [`export const Name = "${pkg.name}";`, `export const Version = "${pkg.version}";`];
1313
const tscCode = codes.join(EOL);
1414
if (process.env.CI) {
15-
console.log("`Update src/meta.ts file.");
15+
console.log("Update src/meta.ts file.");
1616
fs.writeFileSync("src/meta.ts", tscCode, "utf-8");
1717
}
1818
};

0 commit comments

Comments
 (0)