Skip to content

Commit

Permalink
build: fix commands in bump version script
Browse files Browse the repository at this point in the history
  • Loading branch information
Tr00d committed Mar 7, 2024
1 parent f920c2d commit 5a3d1cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bump_version.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ class VersionUpgrade {

console.log("Successfully wrote project data");
this._executeCommand(`git add ${this.projectFile}`);
this._executeCommandWithArgs(`git`, ["commit", "-m", `'docs: bump version to ${this.tag}'`]);
this._executeCommandWithArgs(`git`, ["commit", "-m", `docs: bump version to ${this.tag}`]);
this._executeCommand(`git tag -f ${this.tag}`);
this._executeCommand(`git cliff -o CHANGELOG.md`);
this._executeCommand(`git add CHANGELOG.md`);
this._executeCommandWithArgs(`git`, ["commit", "-m", `'docs: generate changelog for ${this.tag}'`]);
this._executeCommandWithArgs(`git`, ["commit", "-m", `docs: generate changelog for ${this.tag}`]);
this._executeCommand(`git push`);
this._executeCommand(`git push origin ${this.tag} --force`);
});
Expand Down

0 comments on commit 5a3d1cd

Please sign in to comment.