Browse Source

Bump all features during release

Change-Id: I3103c54a2a525f5f190cf35b63394dad6d02cc5e
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
stable-0.8
Shawn O. Pearce 15 years ago
parent
commit
7804045c66
  1. 6
      tools/version.sh

6
tools/version.sh

@ -124,18 +124,18 @@ perl -pi -e '
$seen_version = 1 if (!/<\?xml/ && $seen_version = 1 if (!/<\?xml/ &&
s/(version=")[^"]*(")/${1}'"$OSGI_V"'${2}/); s/(version=")[^"]*(")/${1}'"$OSGI_V"'${2}/);
} }
' org.eclipse.jgit.packaging/org.eclipse.jgit.feature/feature.xml ' org.eclipse.jgit.packaging/org.*.feature/feature.xml
perl -pi -e ' perl -pi -e '
s{<(version)>.*</\1>}{<${1}>'"$POM_V"'</${1}>}; s{<(version)>.*</\1>}{<${1}>'"$POM_V"'</${1}>};
' org.eclipse.jgit.packaging/org.eclipse.jgit.feature/pom.xml ' org.eclipse.jgit.packaging/org.*.feature/pom.xml
perl -pi -e ' perl -pi -e '
if ($ARGV ne $old_argv) { if ($ARGV ne $old_argv) {
$seen_version = 0; $seen_version = 0;
$old_argv = $ARGV; $old_argv = $ARGV;
} }
if ($seen_version < 3) { if ($seen_version < 4) {
$seen_version++ if $seen_version++ if
s{<(version)>.*</\1>}{<${1}>'"$POM_V"'</${1}>}; s{<(version)>.*</\1>}{<${1}>'"$POM_V"'</${1}>};
} }

Loading…
Cancel
Save