Compare commits
No commits in common. "0685a429229e04e4c1c43a4d9dfc5fbf2c729067" and "304a222de11741b6a28225f27cde5ad6f14dc435" have entirely different histories.
0685a42922
...
304a222de1
@ -1,12 +0,0 @@
|
||||
file=version
|
||||
|
||||
if [ "$(git diff HEAD version | wc -w)" -eq 0 ]
|
||||
then
|
||||
echo 'updating minor version'
|
||||
new_path=$(cat $file | awk -F . '{print $1"."$2"."$3+1 }')
|
||||
echo $new_path > $file
|
||||
git add version
|
||||
else
|
||||
echo 'Version have been updated manually'
|
||||
fi
|
||||
echo Version: $(cat $file)
|
@ -1 +0,0 @@
|
||||
sh hooks/bump.sh
|
Loading…
Reference in New Issue
Block a user