This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

ci: ensure typescript package version is consistent

+6 -1
+6 -1
.gitlab-ci.yml
··· 26 26 rules: 27 27 - when: always 28 28 before_script: 29 - - apk add git npm 29 + - apk add git npm jq 30 30 - cp -r typescript typescript_original 31 31 - just build 32 32 - just gen_typescript 33 33 script: 34 + - | 35 + if [ "$(git tag -l | tail -1)" != "v$(jq -r .version package.json)" ]; then 36 + echo "Latest tag does not match package.json version, update the typescript package version then commit the changes" 37 + exit 1 38 + fi 34 39 - | 35 40 for file in typescript/*.ts; do 36 41 if ! diff -q $file typescript_original/$(basename $file); then