Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hatemhosny committed Aug 20, 2024
1 parent ad24b7e commit a730d68
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"reset": "git clean -dfx && git reset --hard && npm i",
"clean": "recursive-delete build && recursive-delete tmp && recursive-delete website/build && recursive-delete website/static/data && recursive-delete website/docs/api",
"release-notes": "node ./scripts/prepare-release.mjs",
"prepare-release": "run-s build test release-notes"
"prepare-release": "run-s release-notes build test"
},
"dependencies": {
"@inquirer/prompts": "^5.3.8",
Expand Down
2 changes: 0 additions & 2 deletions scripts/prepare-release.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,6 @@ const cancelRelease = async () => {
}
fs.writeFileSync(new URL(pkgPath, import.meta.url), stringify(pkg), 'utf8');

const branchName = 'prepare-release/' + version;

const changelog = fs.readFileSync(new URL(changelogPath, import.meta.url), 'utf8');
const changelogSeparator = '\n---';
const [changelogHeader, ...prevLogs] = changelog.split(changelogSeparator);
Expand Down

0 comments on commit a730d68

Please sign in to comment.