Skip to content

Commit

Permalink
Fix release automation in TMG (#30)
Browse files Browse the repository at this point in the history
Signed-off-by: David Kornel <[email protected]>
  • Loading branch information
kornys authored Mar 19, 2024
1 parent 5726974 commit 3823dbb
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/push-to-nexus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export GPG_TTY=$(tty)
echo $GPG_SIGNING_KEY | base64 -d > signing.gpg
gpg --batch --import signing.gpg

GPG_EXECUTABLE=gpg mvn $MVN_ARGS -DskipTests -s ./settings.xml -P ossrh clean deploy
GPG_EXECUTABLE=gpg mvn $MVN_ARGS -DskipTests -s ./.github/scripts/settings.xml -P ossrh clean deploy

rm -rf signing.gpg
gpg --delete-keys
Expand Down
File renamed without changes.
18 changes: 13 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,6 @@
</developer>
</developers>

<modules>
<module>test-docs-generator-maven-plugin</module>
<module>dummy-module</module>
</modules>

<properties>
<generatorRootDirectory>${basedir}</generatorRootDirectory>

Expand Down Expand Up @@ -199,11 +194,24 @@
</build>

<profiles>
<profile>
<id>default</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<modules>
<module>test-docs-generator-maven-plugin</module>
<module>dummy-module</module>
</modules>
</profile>
<profile>
<id>ossrh</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<modules>
<module>test-docs-generator-maven-plugin</module>
</modules>
<properties>
<!--suppress UnresolvedMavenProperty -->
<gpg.executable>${env.GPG_EXECUTABLE}</gpg.executable>
Expand Down

0 comments on commit 3823dbb

Please sign in to comment.