Skip to content

Commit

Permalink
ci(jreleaser): enable publishing with libcryostat -SNAPSHOT dependency (
Browse files Browse the repository at this point in the history
#453)

* ci(jreleaser): enable publishing with libcryostat -SNAPSHOT dependency

* enable publishing snapshot on every merge
  • Loading branch information
andrewazores authored Aug 7, 2024
1 parent f3f53d5 commit 5e9fbe3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/maven-central-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,9 @@
<closeRepository>true</closeRepository>
<releaseRepository>true</releaseRepository>
<stagingRepositories>target/staging-deploy</stagingRepositories>
<!-- TODO this is needed so that the <repositories> block at the top is accepted,
which we need because of our dependency on -SNAPSHOT versions of libcryostat -->
<verifyPom>false</verifyPom>
</maven-central>
</nexus2>
</maven>
Expand Down

0 comments on commit 5e9fbe3

Please sign in to comment.