Compare commits

...

4 Commits

Author SHA1 Message Date
67dce6f0bd
[maven-release-plugin] prepare for next development iteration
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-17 02:19:13 +03:00
396020c84f
[maven-release-plugin] prepare release v.0.0.44 2023-01-17 02:19:12 +03:00
a4731bd535
Изменение cicd 2023-01-17 02:18:52 +03:00
73c36441e6
Поправил урл nexus 2023-01-17 02:17:07 +03:00
17 changed files with 53 additions and 19 deletions

View File

@ -30,7 +30,7 @@ steps:
---
kind: pipeline
type: docker
name: release-publish
name: release-maven-central
trigger:
ref:
@ -61,10 +61,44 @@ steps:
- echo "$MAVEN_SETTINGS" >> maven-settings.xml
- gpg --pinentry-mode loopback --passphrase $GPG_PASSPHRASE --import gpg.key
- mvn --settings maven-settings.xml -U -P ossrh,release clean deploy
---
kind: pipeline
type: docker
name: release-struchkov-nexus
trigger:
ref:
- refs/tags/v.*.*.*
volumes:
- name: m2
host:
path: /drone/volume/m2
steps:
- name: publish maven central
image: maven:3.8.5-openjdk-17
privileged: true
volumes:
- name: m2
path: /root/.m2/repository
environment:
GPG_PRIVATE_KEY:
from_secret: GPG_PRIVATE_KEY
MAVEN_SETTINGS:
from_secret: MAVEN_SETTINGS
GPG_PASSPHRASE:
from_secret: GPG_PASSPHRASE
commands:
- echo "$GPG_PRIVATE_KEY" >> gpg.key
- echo "$MAVEN_SETTINGS" >> maven-settings.xml
- gpg --pinentry-mode loopback --passphrase $GPG_PASSPHRASE --import gpg.key
- mvn --settings maven-settings.xml -U -P release-struchkov-nexus clean deploy
---
kind: signature
hmac: aaecb82da560b249aa3db9c370d61eedc48517dc2859e3f157bc30c2275d1217
hmac: debf5624439f00ad94ba1b1dc172034ccf94c2048ee5ea003540a18623c8c635
...

View File

@ -4,7 +4,7 @@
<parent>
<groupId>dev.struchkov.godfather</groupId>
<artifactId>bot-context</artifactId>
<version>0.0.44-SNAPSHOT</version>
<version>0.0.45-SNAPSHOT</version>
</parent>
<artifactId>bot-context-main</artifactId>

View File

@ -4,7 +4,7 @@
<parent>
<groupId>dev.struchkov.godfather</groupId>
<artifactId>bot-context</artifactId>
<version>0.0.44-SNAPSHOT</version>
<version>0.0.45-SNAPSHOT</version>
</parent>
<artifactId>bot-context-quarkus</artifactId>

View File

@ -4,7 +4,7 @@
<parent>
<groupId>dev.struchkov.godfather</groupId>
<artifactId>bot-context</artifactId>
<version>0.0.44-SNAPSHOT</version>
<version>0.0.45-SNAPSHOT</version>
</parent>
<artifactId>bot-context-simple</artifactId>

View File

@ -4,7 +4,7 @@
<parent>
<groupId>dev.struchkov.godfather</groupId>
<artifactId>godfather-bot</artifactId>
<version>0.0.44-SNAPSHOT</version>
<version>0.0.45-SNAPSHOT</version>
</parent>
<artifactId>bot-context</artifactId>

View File

@ -4,7 +4,7 @@
<parent>
<groupId>dev.struchkov.godfather</groupId>
<artifactId>bot-core</artifactId>
<version>0.0.44-SNAPSHOT</version>
<version>0.0.45-SNAPSHOT</version>
</parent>
<artifactId>bot-core-main</artifactId>

View File

@ -4,7 +4,7 @@
<parent>
<groupId>dev.struchkov.godfather</groupId>
<artifactId>bot-core</artifactId>
<version>0.0.44-SNAPSHOT</version>
<version>0.0.45-SNAPSHOT</version>
</parent>
<artifactId>bot-core-quarkus</artifactId>

View File

@ -4,7 +4,7 @@
<parent>
<artifactId>bot-core</artifactId>
<groupId>dev.struchkov.godfather</groupId>
<version>0.0.44-SNAPSHOT</version>
<version>0.0.45-SNAPSHOT</version>
</parent>
<artifactId>bot-core-simple</artifactId>

View File

@ -4,7 +4,7 @@
<parent>
<groupId>dev.struchkov.godfather</groupId>
<artifactId>godfather-bot</artifactId>
<version>0.0.44-SNAPSHOT</version>
<version>0.0.45-SNAPSHOT</version>
</parent>
<artifactId>bot-core</artifactId>

View File

@ -4,7 +4,7 @@
<parent>
<artifactId>bot-data</artifactId>
<groupId>dev.struchkov.godfather</groupId>
<version>0.0.44-SNAPSHOT</version>
<version>0.0.45-SNAPSHOT</version>
</parent>
<artifactId>bot-data-main</artifactId>

View File

@ -4,7 +4,7 @@
<parent>
<groupId>dev.struchkov.godfather</groupId>
<artifactId>bot-data</artifactId>
<version>0.0.44-SNAPSHOT</version>
<version>0.0.45-SNAPSHOT</version>
</parent>
<artifactId>bot-data-quarkus</artifactId>

View File

@ -4,7 +4,7 @@
<parent>
<groupId>dev.struchkov.godfather</groupId>
<artifactId>bot-data</artifactId>
<version>0.0.44-SNAPSHOT</version>
<version>0.0.45-SNAPSHOT</version>
</parent>
<artifactId>bot-data-simple</artifactId>

View File

@ -4,7 +4,7 @@
<parent>
<groupId>dev.struchkov.godfather</groupId>
<artifactId>godfather-bot</artifactId>
<version>0.0.44-SNAPSHOT</version>
<version>0.0.45-SNAPSHOT</version>
</parent>
<artifactId>bot-data</artifactId>

View File

@ -3,7 +3,7 @@
<parent>
<artifactId>bot-domain</artifactId>
<groupId>dev.struchkov.godfather</groupId>
<version>0.0.44-SNAPSHOT</version>
<version>0.0.45-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -3,7 +3,7 @@
<parent>
<artifactId>godfather-bot</artifactId>
<groupId>dev.struchkov.godfather</groupId>
<version>0.0.44-SNAPSHOT</version>
<version>0.0.45-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -3,7 +3,7 @@
<parent>
<groupId>dev.struchkov.godfather</groupId>
<artifactId>godfather-bot</artifactId>
<version>0.0.44-SNAPSHOT</version>
<version>0.0.45-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -4,7 +4,7 @@
<groupId>dev.struchkov.godfather</groupId>
<artifactId>godfather-bot</artifactId>
<version>0.0.44-SNAPSHOT</version>
<version>0.0.45-SNAPSHOT</version>
<packaging>pom</packaging>
<modules>
@ -286,7 +286,7 @@
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<configuration>
<serverId>struchkov-nexus-release</serverId>
<serverId>struchkov-nexus</serverId>
<nexusUrl>https://nexus.struchkov.dev/nexus/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>