Skip to content

Commit

Permalink
Add data property
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinhenderson committed Nov 10, 2021
1 parent 1a178cf commit d27bf07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check-for-version-bump.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = async ({ github, context, core }) => {

console.log("latestRelease", latestRelease);

const latestVersion = latestRelease.name.replace("v", "");
const latestVersion = latestRelease.data.name.replace("v", "");

console.log(latestVersion);
console.log(latestVersion === currentVersion);
Expand Down

0 comments on commit d27bf07

Please sign in to comment.