From d27bf0739ead24a27a20ca37858d3d5e7fc510ae Mon Sep 17 00:00:00 2001 From: Gavin Henderson Date: Wed, 10 Nov 2021 12:02:31 +0000 Subject: [PATCH] Add data property --- check-for-version-bump.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check-for-version-bump.js b/check-for-version-bump.js index b038ec77..74f29e51 100644 --- a/check-for-version-bump.js +++ b/check-for-version-bump.js @@ -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);