From 5e9fbe34143f243cdddef4743fc5a9af9cde3115 Mon Sep 17 00:00:00 2001 From: Andrew Azores Date: Wed, 7 Aug 2024 17:44:36 -0400 Subject: [PATCH] ci(jreleaser): enable publishing with libcryostat -SNAPSHOT dependency (#453) * ci(jreleaser): enable publishing with libcryostat -SNAPSHOT dependency * enable publishing snapshot on every merge --- .github/workflows/maven-central-release.yml | 6 ++++++ pom.xml | 3 +++ 2 files changed, 9 insertions(+) diff --git a/.github/workflows/maven-central-release.yml b/.github/workflows/maven-central-release.yml index 854db61b..fba02df6 100644 --- a/.github/workflows/maven-central-release.yml +++ b/.github/workflows/maven-central-release.yml @@ -7,6 +7,12 @@ on: # version: # description: 'Release version' # required: true + push: + branches: + - main + - v[0-9]+ + - v[0-9]+.[0-9]+ + - cryostat-v[0-9]+.[0-9]+ jobs: build: diff --git a/pom.xml b/pom.xml index 0b43ca43..a57cf5c5 100644 --- a/pom.xml +++ b/pom.xml @@ -589,6 +589,9 @@ true true target/staging-deploy + + false