From 9e1ded6376db3037fad2a48093911a0a62f608ac Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Sat, 27 Jan 2024 10:23:10 +0100 Subject: [PATCH] [ci] check if the app version is same as the tag --- .woodpecker.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.woodpecker.yml b/.woodpecker.yml index 43bf009..a8fb90f 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,4 +1,12 @@ steps: + check-tag: + image: alpine + commands: + - TAG=${CI_COMMIT_TAG/v//} + - grep "$TAG" appinfo/info.xml + when: + event: [tag] + dependencies: image: node:16 pull: true