Skip to content

Commit

Permalink
ci(release): fixed release config import
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurchishin committed Sep 26, 2023
1 parent 62f895c commit 075a45e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .release-it.js → .release-it.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const version = '${version}'
const packageName = process.env.npm_package_name
const scope = packageName.split('/')[1]
// const scope = packageName.split('/')[1]
const scope = packageName

module.exports = {
plugins: {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"format": "prettier . --check",
"format:fix": "prettier . --write",
"fix": "bun run lint:fix && bun run format:fix",
"release": "release-it --ci --config .release-it.js",
"release": "release-it --ci --config .release-it.cjs",
"commit": "commit",
"prepare": "husky install"
},
Expand Down

0 comments on commit 075a45e

Please sign in to comment.