consolesmods/.drone.yml
2023-08-28 18:20:58 +02:00

18 lines
484 B
YAML

pipeline:
release:
trigger:
release: true
steps:
- checkout:
repo: https://github.com/insignia-live/setup-assistant-release.git
- run:
command: |
import semver from "semver";
const version = getLatestReleaseTag();
const isNewer = semver.gt(version, "v1.0.0");
if (isNewer) {
echo "This pipeline is run because the new release is newer than the one I have.";
}