Add script.js
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Sthope 2023-08-28 18:25:12 +02:00
parent 8a0db7d292
commit 50810450e5

9
script.js Normal file
View File

@ -0,0 +1,9 @@
const semver = require("semver");
const latestReleaseTag = getLatestReleaseTag(); // Implement this function
const isNewer = semver.gt(latestReleaseTag, "2023-02-13-1223");
if (isNewer) {
console.log("This pipeline is run because the new release is newer than the one I have.");
}