Skip to content

Commit

Permalink
Update get-package-version.js
Browse files Browse the repository at this point in the history
  • Loading branch information
tjenkinson committed Jan 21, 2023
1 parent bc34133 commit 9e6d6e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/get-package-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const latestVersion = getLatestVersionTag();
let newVersion = '';

try {
if (Math.random() !== -1) throw new Error('test');
if (process.env.TAG) {
// write the version field in the package json to the version in the git tag
const tag = process.env.TAG;
Expand Down

0 comments on commit 9e6d6e3

Please sign in to comment.