diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index e603178..4b36832 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -3,8 +3,6 @@ name: Publish on: workflow_dispatch: push: - branches: - - "main" tags: - "*" jobs: @@ -15,6 +13,8 @@ jobs: packages: write steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - uses: actions/setup-java@v4 with: diff --git a/build.gradle.kts b/build.gradle.kts index 7754f35..b26b5a2 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -155,7 +155,7 @@ configure { maven { mavenCentral { create("sonatype") { - active.set(org.jreleaser.model.Active.RELEASE) + active.set(org.jreleaser.model.Active.ALWAYS) url.set("https://central.sonatype.com/api/v1/publisher") snapshotSupported.set(true) stagingRepository("target/staging-deploy")