OPNFV KVM4NFV CICD: Scripts for creating Rpms & Debians for Kernel, Qemu
[kvmfornfv.git] / ci / build_rpm / mkversion
1 if [ ! -f .version ]
2 then
3     touch .version
4     chmod 777 .version
5     echo 1 > .version
6     echo 1
7 else
8     expr 0`cat .version` + 1
9     expr 0`cat .version` + 1 > .version
10 fi