Skip to content

Commit f11f239

Browse files
committed
fix formatter
Signed-off-by: Gregor Zeitlinger <[email protected]>
1 parent 6c82338 commit f11f239

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

mise.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ run = "../../mvnw test -PnativeTest"
5959
dir = "integration-tests/it-spring-boot-smoke-test"
6060

6161
[tasks.set-version]
62-
run = 'mvn versions:set -DnewVersion={{arg(name="version")}}'
62+
run = 'mvn versions:set -P setVersion -DnewVersion={{arg(name="version")}}'
6363

6464
[tasks.javadoc]
6565
run = [

pom.xml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@
3535
</properties>
3636

3737
<modules>
38-
<module>prometheus-metrics-parent</module>
39-
<module>prometheus-metrics-bom</module>
4038
<module>prometheus-metrics-core</module>
4139
<module>prometheus-metrics-config</module>
4240
<module>prometheus-metrics-model</module>
@@ -418,6 +416,13 @@
418416
</dependencies>
419417
</dependencyManagement>
420418
</profile>
419+
<profile>
420+
<id>setVersion</id>
421+
<modules>
422+
<module>prometheus-metrics-parent</module>
423+
<module>prometheus-metrics-bom</module>
424+
</modules>
425+
</profile>
421426
<profile>
422427
<id>javadoc</id>
423428
<build>

scripts/build-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ set -euo pipefail
44

55
VERSION=${TAG#v}
66

7-
mvn versions:set -DnewVersion="$VERSION"
7+
mvn versions:set -P setVersion -DnewVersion="$VERSION"
88
mvn -B package -P release -Dmaven.test.skip=true

0 commit comments

Comments
 (0)