This commit is contained in:
parent
792514c4ac
commit
1219f9a47a
@ -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.");
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user