[ci] check if the app version is same as the tag
This commit is contained in:
@@ -1,4 +1,12 @@
|
|||||||
steps:
|
steps:
|
||||||
|
check-tag:
|
||||||
|
image: alpine
|
||||||
|
commands:
|
||||||
|
- TAG=${CI_COMMIT_TAG/v//}
|
||||||
|
- grep "<version>$TAG</version>" appinfo/info.xml
|
||||||
|
when:
|
||||||
|
event: [tag]
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
image: node:16
|
image: node:16
|
||||||
pull: true
|
pull: true
|
||||||
|
|||||||
Reference in New Issue
Block a user