From 1219f9a47ab4afac58e9fe9e749f0ff004589d70 Mon Sep 17 00:00:00 2001 From: Sthope Date: Mon, 28 Aug 2023 18:31:31 +0200 Subject: [PATCH] Update script.js --- script.js | 4 ++++ 1 file changed, 4 insertions(+) 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."); } });