(feat) CI: adding version incrementer (#21)

* Adds version incrementer
This commit is contained in:
Raj Babu Das
2019-10-10 15:16:51 +05:30
committed by Karthik Satchitanand
parent de971bb1fa
commit e74a8be549
11 changed files with 134 additions and 106 deletions

View File

@@ -1,8 +1,10 @@
sudo: required
dist: xenial # ubuntu 16.04 distro
script:
# runs only when PR is merged
- make versionmaker
# Install dependencies
- make deps
# It will ignore if travis ci committed, else works as it is.
- author=`git log -1 --pretty=format:'%an'` && if [[ "$author" != "Travis CI" ]]; then make versionmaker; fi
- make combineExpCR
after_success:
# runs only when PR is merged and push the version file to master version