diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..9a84ac3 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,32 @@ +kind: pipeline +type: docker +name: haiti-framework + +steps: + + - name: publish maven central + image: maven:3.8.6-openjdk-11 + 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 ossrh,release clean deploy + +trigger: + ref: + - refs/tags/v.*.*.* + +volumes: + - name: m2 + host: + path: /drone/volume/m2 \ No newline at end of file diff --git a/bot-context/bot-context-main/pom.xml b/bot-context/bot-context-main/pom.xml index d3726ae..4ea5099 100644 --- a/bot-context/bot-context-main/pom.xml +++ b/bot-context/bot-context-main/pom.xml @@ -6,7 +6,7 @@ dev.struchkov.godfather bot-context - 0.0.32 + 0.0.33-SNAPSHOT bot-context-main diff --git a/bot-context/bot-context-quarkus/pom.xml b/bot-context/bot-context-quarkus/pom.xml index f9b64be..163a9bd 100644 --- a/bot-context/bot-context-quarkus/pom.xml +++ b/bot-context/bot-context-quarkus/pom.xml @@ -6,7 +6,7 @@ dev.struchkov.godfather bot-context - 0.0.32 + 0.0.33-SNAPSHOT bot-context-quarkus diff --git a/bot-context/bot-context-simple/pom.xml b/bot-context/bot-context-simple/pom.xml index 0d21dae..8f3aef7 100644 --- a/bot-context/bot-context-simple/pom.xml +++ b/bot-context/bot-context-simple/pom.xml @@ -6,7 +6,7 @@ dev.struchkov.godfather bot-context - 0.0.32 + 0.0.33-SNAPSHOT bot-context-simple diff --git a/bot-context/pom.xml b/bot-context/pom.xml index 45f6a4e..e670496 100644 --- a/bot-context/pom.xml +++ b/bot-context/pom.xml @@ -6,7 +6,7 @@ dev.struchkov.godfather godfather-bot - 0.0.32 + 0.0.33-SNAPSHOT bot-context diff --git a/bot-core/bot-core-main/pom.xml b/bot-core/bot-core-main/pom.xml index cbd20c3..ae5af9a 100644 --- a/bot-core/bot-core-main/pom.xml +++ b/bot-core/bot-core-main/pom.xml @@ -6,7 +6,7 @@ dev.struchkov.godfather bot-core - 0.0.32 + 0.0.33-SNAPSHOT bot-core-main diff --git a/bot-core/bot-core-quarkus/pom.xml b/bot-core/bot-core-quarkus/pom.xml index ee1245a..33cadd2 100644 --- a/bot-core/bot-core-quarkus/pom.xml +++ b/bot-core/bot-core-quarkus/pom.xml @@ -6,7 +6,7 @@ dev.struchkov.godfather bot-core - 0.0.32 + 0.0.33-SNAPSHOT bot-core-quarkus diff --git a/bot-core/bot-core-simple/pom.xml b/bot-core/bot-core-simple/pom.xml index 0076dcb..abe7bfc 100644 --- a/bot-core/bot-core-simple/pom.xml +++ b/bot-core/bot-core-simple/pom.xml @@ -6,7 +6,7 @@ bot-core dev.struchkov.godfather - 0.0.32 + 0.0.33-SNAPSHOT bot-core-simple diff --git a/bot-core/pom.xml b/bot-core/pom.xml index aed2bd1..9c07855 100644 --- a/bot-core/pom.xml +++ b/bot-core/pom.xml @@ -6,7 +6,7 @@ dev.struchkov.godfather godfather-bot - 0.0.32 + 0.0.33-SNAPSHOT bot-core diff --git a/bot-data/bot-data-main/pom.xml b/bot-data/bot-data-main/pom.xml index e230e00..475c865 100644 --- a/bot-data/bot-data-main/pom.xml +++ b/bot-data/bot-data-main/pom.xml @@ -6,7 +6,7 @@ bot-data dev.struchkov.godfather - 0.0.32 + 0.0.33-SNAPSHOT bot-data-main diff --git a/bot-data/bot-data-quarkus/pom.xml b/bot-data/bot-data-quarkus/pom.xml index c532456..4684f14 100644 --- a/bot-data/bot-data-quarkus/pom.xml +++ b/bot-data/bot-data-quarkus/pom.xml @@ -6,7 +6,7 @@ dev.struchkov.godfather bot-data - 0.0.32 + 0.0.33-SNAPSHOT bot-data-quarkus diff --git a/bot-data/bot-data-simple/pom.xml b/bot-data/bot-data-simple/pom.xml index 18ebf2e..606ba06 100644 --- a/bot-data/bot-data-simple/pom.xml +++ b/bot-data/bot-data-simple/pom.xml @@ -6,7 +6,7 @@ dev.struchkov.godfather bot-data - 0.0.32 + 0.0.33-SNAPSHOT bot-data-simple diff --git a/bot-data/pom.xml b/bot-data/pom.xml index c9373e2..2379c7e 100644 --- a/bot-data/pom.xml +++ b/bot-data/pom.xml @@ -6,7 +6,7 @@ dev.struchkov.godfather godfather-bot - 0.0.32 + 0.0.33-SNAPSHOT bot-data diff --git a/bot-domain/bot-domain-main/pom.xml b/bot-domain/bot-domain-main/pom.xml index f8efb96..9242d3a 100644 --- a/bot-domain/bot-domain-main/pom.xml +++ b/bot-domain/bot-domain-main/pom.xml @@ -5,7 +5,7 @@ bot-domain dev.struchkov.godfather - 0.0.32 + 0.0.33-SNAPSHOT 4.0.0 diff --git a/bot-domain/pom.xml b/bot-domain/pom.xml index 6f29f5e..0e2493b 100644 --- a/bot-domain/pom.xml +++ b/bot-domain/pom.xml @@ -5,7 +5,7 @@ godfather-bot dev.struchkov.godfather - 0.0.32 + 0.0.33-SNAPSHOT 4.0.0 diff --git a/bot-exception/pom.xml b/bot-exception/pom.xml index ace91e1..3d16bab 100644 --- a/bot-exception/pom.xml +++ b/bot-exception/pom.xml @@ -5,7 +5,7 @@ dev.struchkov.godfather godfather-bot - 0.0.32 + 0.0.33-SNAPSHOT 4.0.0 diff --git a/pom.xml b/pom.xml index 7472685..bc2076a 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ dev.struchkov.godfather godfather-bot - 0.0.32 + 0.0.33-SNAPSHOT pom @@ -219,6 +219,16 @@ + + org.apache.maven.plugins + maven-release-plugin + 3.0.0-M7 + + deploy + true + releases + + @@ -243,6 +253,10 @@ release + + org.apache.maven.plugins + maven-release-plugin + org.sonatype.plugins nexus-staging-maven-plugin