Skip to content

Commit

Permalink
chore: fix release script (#903)
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-bompart committed Aug 26, 2022
1 parent 1806af0 commit 1c9c5b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/releaseV2/phase1-get-new-version.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import angularChangelogConvention from 'conventional-changelog-angular';
// Get all commits since last release bump the root package.json version.
(async () => {
let newVersion = process.env.VERSION;
const PATH = '.';
if (!newVersion) {
const PATH = '.';
const versionPrefix = 'v';
const convention = await angularChangelogConvention;
const lastTag = await getLastTag(versionPrefix);
Expand Down

0 comments on commit 1c9c5b9

Please sign in to comment.