diff --git a/script.js b/script.js index 017b87e..0d8fbd8 100644 --- a/script.js +++ b/script.js @@ -19,5 +19,9 @@ getLatestReleaseTag().then((latestReleaseTag) => { // Compare release tags as strings if (latestReleaseTag > targetReleaseTag) { console.log("This pipeline is run because the new release is newer than the one I have."); + } else if (latestReleaseTag === targetReleaseTag) { + console.log("The release tag is the same as the target tag."); + } else { + console.log("The new release is older than the one I have."); } });