consolesmods/.drone.yml
Sthope 93769a9df9
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Update .drone.yml
2023-08-28 18:22:06 +02:00

18 lines
493 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, "2023-02-13-1223");
if (isNewer) {
echo "This pipeline is run because the new release is newer than the one I have.";
}