Skip to content

Commit 49df30b

Browse files
committed
bump-versions-in-pom: special-case some artifactIds
We had a convention to use the full artifactId in the properties defining the current versions, but at some stage that got nixed. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 00e1a77 commit 49df30b

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

bump-versions-in-pom.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,11 @@ do
144144
then
145145
must_change=
146146
artifactId="${property%.version}"
147-
test imagej1 != "$artifactId" ||
148-
artifactId=ij
147+
case "$artifactId" in
148+
imagej1) artifactId=ij;;
149+
nar) artifactId=nar-maven-plugin;;
150+
esac
151+
149152
test ! -t 0 ||
150153
printf '\rLooking at %s...\033[K\r' "$artifactId"
151154
ga="$(sed -n '/<groupId>/{

0 commit comments

Comments
 (0)