fix in generating code
This commit is contained in:
@ -42,7 +42,9 @@ build:
|
|||||||
sed -i -e 's/GITTAGVERSION/'"$CI_COMMIT_TAG"':'"$CI_COMMIT_SHORT_SHA"'/' ./src/app/navigation/navigation.component.html;
|
sed -i -e 's/GITTAGVERSION/'"$CI_COMMIT_TAG"':'"$CI_COMMIT_SHORT_SHA"'/' ./src/app/navigation/navigation.component.html;
|
||||||
fi
|
fi
|
||||||
- npm install
|
- npm install
|
||||||
- npm run generate
|
- for F in ./src/app/*.tmpl; do
|
||||||
|
python ../helpers/hv2-api/generate.py -s ../helpers/hv2-api/schema.json -t $F;
|
||||||
|
done
|
||||||
- ./node_modules/.bin/ng build --prod
|
- ./node_modules/.bin/ng build --prod
|
||||||
- tar -czf ../dist.tgz dist
|
- tar -czf ../dist.tgz dist
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user