We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0b8d94 commit a71078cCopy full SHA for a71078c
1 file changed
bump-versions-in-pom.sh
@@ -110,7 +110,7 @@ test -z "$bump_parent" || {
110
111
test "a--default" != "a$*" &&
112
test "a--default-properties" != "a$*" ||
113
-set $(sed -n '/^ <properties>/,/<\(\/properties>\|!-- Open Microscopy Environment\)/s/.*<\([^>\/]*\.version\)>.*/\1 --latest/p' pom.xml)
+set $(sed -ne '/!-- Open Microscopy Environment/q' -e '/^ <properties>/,/<\/properties>/s/.*<\([^>\/]*\.version\)>.*/\1 --latest/p' pom.xml)
114
115
test $# -ge 2 &&
116
test 0 = $(($#%2)) ||
0 commit comments