Skip to content

Commit

Permalink
Remove "v" prefix from git-cliff commands
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecRust committed Apr 11, 2024
1 parent 51a996b commit 119c91a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .cliff/build-changelogs.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ const { execSync } = require('child_process');
const packageJson = require('../package.json');

const nextVersion = packageJson.version;
const changelogMdCmd = `git-cliff --config .cliff/cliff-changelog-md.toml -o CHANGELOG.md --tag v${nextVersion}`;
const readmeTxtCmd = `git-cliff --config .cliff/cliff-readme-txt.toml -o readme.txt --tag v${nextVersion}`;
const changelogMdCmd = `git-cliff --config .cliff/cliff-changelog-md.toml -o CHANGELOG.md --tag ${nextVersion}`;
const readmeTxtCmd = `git-cliff --config .cliff/cliff-readme-txt.toml -o readme.txt --tag ${nextVersion}`;

try {
execSync(changelogMdCmd, { stdio: 'inherit' });
Expand Down

0 comments on commit 119c91a

Please sign in to comment.