Update script.js
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Sthope 2023-08-28 18:31:31 +02:00
parent 792514c4ac
commit 1219f9a47a

View File

@ -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.");
}
});