(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

11
scripts/version/readme.md Normal file
View File

@@ -0,0 +1,11 @@
## Version
## Implementation
Whenever there is any commit in charts it will increment the patch version by one unit
Steps:
1. version_maker.sh will take the second last commit because the latest commit is the changes which are done by the user by which Travis is triggered.
2. It compares the changes with the second last commit and stores the changed file to an array.
3. It will go through each file and increment a patch version to each changed file