Skip to content

Commit 6a5afa5

Browse files
author
Jeremy D. Young
committed
DEVHUB-65 - Moving plugin to release profile and using profile again
1 parent 34ce5f8 commit 6a5afa5

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/release-sdk.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,5 @@ jobs:
4949
GPG_PASSPHRASE: ${{ secrets.GPG_PRIVATE_KEY_PASSPHRASE }}
5050
run: |
5151
echo "Starting SDK Release - version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)"
52-
mvn deploy --settings $GITHUB_WORKSPACE/settings.xml -B -U -DskipTests=true
52+
mvn deploy --settings $GITHUB_WORKSPACE/settings.xml -B -U -P release -DskipTests=true
5353
echo "SDK Released"

code/pom.xml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -160,16 +160,6 @@
160160

161161
<build>
162162
<plugins>
163-
<plugin>
164-
<groupId>org.sonatype.central</groupId>
165-
<artifactId>central-publishing-maven-plugin</artifactId>
166-
<version>0.9.0</version>
167-
<extensions>true</extensions>
168-
<configuration>
169-
<publishingServerId>central</publishingServerId>
170-
<autoPublish>true</autoPublish>
171-
</configuration>
172-
</plugin>
173163
<plugin>
174164
<groupId>org.apache.maven.plugins</groupId>
175165
<artifactId>maven-resources-plugin</artifactId>
@@ -775,6 +765,16 @@
775765
</properties>
776766
<build>
777767
<plugins>
768+
<plugin>
769+
<groupId>org.sonatype.central</groupId>
770+
<artifactId>central-publishing-maven-plugin</artifactId>
771+
<version>0.9.0</version>
772+
<extensions>true</extensions>
773+
<configuration>
774+
<publishingServerId>central</publishingServerId>
775+
<autoPublish>true</autoPublish>
776+
</configuration>
777+
</plugin>
778778
<plugin>
779779
<groupId>org.apache.maven.plugins</groupId>
780780
<artifactId>maven-gpg-plugin</artifactId>

0 commit comments

Comments
 (0)