Skip to content

Commit

Permalink
refactor: corrected this implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
mfranzke committed Jan 3, 2025
1 parent 4bdf083 commit cdd8dc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/package-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const PRE_RELEASE = process.env.PRE_RELEASE === 'true';
const GITHUB_SHA = process.env.GITHUB_SHA;

function getSemverVersion(tag) {
return findVersions(tag, { loose: true })[0].toString().trim();
return findVersions(tag);
}

const SEMVER_VERSION = getSemverVersion(TAG);
Expand Down

0 comments on commit cdd8dc3

Please sign in to comment.