Compare commits
4 Commits
70d952ae26
...
67dce6f0bd
Author | SHA1 | Date | |
---|---|---|---|
67dce6f0bd | |||
396020c84f | |||
a4731bd535 | |||
73c36441e6 |
38
.drone.yml
38
.drone.yml
@ -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
|
||||
|
||||
...
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
4
pom.xml
4
pom.xml
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user