Add manpage for notionflux
[notion/jeffpc.git] / nextversion.sh
blob661b73bdbc1fd7b752912037f3d4d6322e7da45f
1 #!/bin/sh
3 PREFIX=3-`date +"%Y%m%d"`
5 alreadyTagged() {
6 #nfound = git tag -l | grep $1 | wc
7 return 0;
10 for minor in 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20
12 VERSION=$PREFIX$minor
13 if [ "0" = "`git tag -l | grep $VERSION | wc -l`" ]
14 then
15 echo $PREFIX$minor;
16 exit 1
18 done