Skip to content
Snippets Groups Projects
Commit d59cb11a authored by Martin Hamerník's avatar Martin Hamerník
Browse files

Merge branch '4-fix-ci' into 'master'

Resolve "Fix CI"

Closes #4

See merge request kypo-crp/frontend-angular/models/kypo2-angular-topology-model!6
parents d26e71cc 812bc965
No related branches found
No related tags found
No related merge requests found
......@@ -57,13 +57,13 @@ editVersionAndDeploy:
- git config --global user.name "KYPO CI" && git config --global user.email "kyposervice@ics.muni.cz"
# sed -i -e 's/ "version":.*/ "version": "'$VERSION'",/' projects/user-and-group-management/package.json'
# The command above is not a friend with YAML. Run it in a script as a workaround.
- bash /usr/local/changeVersion.sh $VERSION kypo2-angular-topology-model
- bash /usr/local/changeVersion.sh $VERSION kypo2-topology-graph-model
- git commit -am "Update project package.json version based on GitLab tag. Done by CI" && sleep 1
- git push
- sleep 5
- cp $NPMRC_PULL ~/.npmrc
- 'npm run build-and-pack'
- cp $NPMRC_PUSH ~/.npmrc
- 'cd dist/kypo2-angular-topology-model && npm publish'
- 'cd dist/kypo2-topology-graph-model && npm publish'
only:
- tags
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment