[ci] check if the app version is same as the tag
This commit is contained in:
parent
dbc480a1a7
commit
9e1ded6376
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue