[ci] check if the app version is same as the tag

This commit is contained in:
Simon Vieille 2024-01-27 10:23:10 +01:00
parent dbc480a1a7
commit 9e1ded6376

View file

@ -1,4 +1,12 @@
steps:
check-tag:
image: alpine
commands:
- TAG=${CI_COMMIT_TAG/v//}
- grep "<version>$TAG</version>" appinfo/info.xml
when:
event: [tag]
dependencies:
image: node:16
pull: true