Skip to content

Commit c43f98a

Browse files
committed
release-version.sh: do not strip pom- prefixes
We used to have lots of multimodule projects with the root aggregator called "pom-foo", and we wanted it tagged as "foo-x.y.z". But now, all that has changed: the only project still like that is TrakEM2. The other projects are all single modules, released independently, including the pom-* parents like pom-scijava, pom-imagej, pom-fiji, etc. So in general, let's not strip the pom- prefix, but instead only do it for components we know encapsulate an entire multi-component project.
1 parent aab7cfe commit c43f98a

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

release-version.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,7 @@ org.scijava:swing-checkbox-tree:*)
123123
PROFILE=-Psonatype-oss-release
124124
INVALIDATE_NEXUS=t
125125
;;
126-
*:pom-fiji:*)
127-
;;
128-
*:pom-*:*)
126+
*:pom-trakem2:*)
129127
ARTIFACT_ID=${BASE_GAV#*:pom-}
130128
ARTIFACT_ID=${ARTIFACT_ID%:*}
131129
test -n "$TAG" || TAG=-Dtag=$ARTIFACT_ID-$VERSION

0 commit comments

Comments
 (0)