3 # Updates MANIFEST.MF files for EGit plugins.
8 echo >&2 "usage: $0 version"
12 MF
=$
(git ls-files |
grep META-INF
/MANIFEST.MF
)
13 MV
=jgit-maven
/jgit
/pom.xml
19 perl
-pi -e 's/^(Bundle-Version:).*/$1 '$version/ $MF
20 perl
-pi -e 's,^ <version>.*</version>, <version>'$2'</version>,' $MV
24 git commit
-s -m "JGit $v" $ALL &&
25 c
=$
(git rev-parse HEAD
) &&
27 replace
$v.qualifier
$v-SNAPSHOT &&
28 git commit
-s -m "Re-add version qualifier suffix to $v" $ALL &&
31 tagcmd
="git tag -s -m 'JGit $v' v$v $c" &&