Skip to content

Commit 6338901

Browse files
committed
sj-version.sh: fix output for newer pom-scijavas
The issue was that the '<version>' block of the imagej-maven-plugin configuration was matching the grep filter, when it should have been excluded, resulting in the erroneous line: version: ${imagej-maven-plugin.version}
1 parent 3c3932e commit 6338901

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sj-version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repo="http://maven.imagej.net/content/repositories/releases"
1414
props() {
1515
url="$repo/org/scijava/pom-scijava/$1/pom-scijava-$1.pom"
1616
curl -s $url | \
17-
grep '\.version' | \
17+
grep '\.version>' | \
1818
sed 's/<\/.*//' | \
1919
sed 's/^ *<\(.*\)>/\1: /' | \
2020
sort

0 commit comments

Comments
 (0)