Skip to content

Commit 48d113b

Browse files
committed
Parameterize auto release of Sonatype staging repos
1 parent ca8e8e3 commit 48d113b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
<properties>
7878
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
7979
<maven.compiler.target>1.7</maven.compiler.target>
80+
<google-ads-java.autoRelease>false</google-ads-java.autoRelease>
8081
</properties>
8182

8283
<build>
@@ -247,7 +248,7 @@
247248
<configuration>
248249
<serverId>sonatype-nexus-staging</serverId>
249250
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
250-
<autoReleaseAfterClose>false</autoReleaseAfterClose>
251+
<autoReleaseAfterClose>${google-ads-java.autoRelease}</autoReleaseAfterClose>
251252
</configuration>
252253
</plugin>
253254
</plugins>

0 commit comments

Comments
 (0)