repo.or.cz
/
notion
/
jeffpc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add manpage for notionflux
[notion/jeffpc.git]
/
nextversion.sh
blob
661b73bdbc1fd7b752912037f3d4d6322e7da45f
1
#!/bin/sh
2
3
PREFIX
=
3
-
`date +"%Y%m%d"`
4
5
alreadyTagged
() {
6
#nfound = git tag -l | grep $1 | wc
7
return
0
;
8
}
9
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
11
do
12
VERSION
=
$PREFIX$minor
13
if
[
"0"
=
"`git tag -l | grep
$VERSION
| wc -l`"
]
14
then
15
echo
$PREFIX$minor
;
16
exit
1
17
fi
18
done