From 18c6fa636f6e2c1c1b329bd2a9378583339dccbf Mon Sep 17 00:00:00 2001 From: Christopher Kolstad Date: Wed, 5 Mar 2025 09:06:22 +0100 Subject: [PATCH 1/2] chore(ci): Updated workflows for Jreleaser tagging (without unleash-client-java prefix) --- .github/workflows/release_changelog.yml | 1 + .github/workflows/release_to_central.yml | 44 ------------------------ 2 files changed, 1 insertion(+), 44 deletions(-) delete mode 100644 .github/workflows/release_to_central.yml diff --git a/.github/workflows/release_changelog.yml b/.github/workflows/release_changelog.yml index 01345cacc..83f6bedda 100644 --- a/.github/workflows/release_changelog.yml +++ b/.github/workflows/release_changelog.yml @@ -3,6 +3,7 @@ on: push: tags: - "unleash-client-java-*" + - "**[0-9]+.[0-9]+.[0-9]+*" jobs: release: diff --git a/.github/workflows/release_to_central.yml b/.github/workflows/release_to_central.yml deleted file mode 100644 index 761a44c18..000000000 --- a/.github/workflows/release_to_central.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: Release to central - -on: - workflow_dispatch: - inputs: - version: - description: What version would you like to use? - -permissions: - contents: write - -jobs: - release: - name: Release - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - name: Checkout code - with: - fetch-depth: 0 - - - name: Setup Java and Maven Central Repo - uses: actions/setup-java@v4 - with: - java-version: "8" - distribution: "temurin" - server-id: ossrh - server-username: MAVEN_USERNAME - server-password: MAVEN_PASSWORD - gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} - gpg-passphrase: MAVEN_GPG_PASSPHRASE - cache: maven - - - name: Setup git config - run: | - git config user.name "Github Release Bot" - git config user.email "<>" - - name: Release - run: mvn -B -DreleaseVersion=${{ inputs.version}} release:prepare release:perform - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} - MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} - MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} From ebb1ca6bb9875b99d28c352e519304f3fc73dce0 Mon Sep 17 00:00:00 2001 From: Christopher Kolstad Date: Wed, 5 Mar 2025 09:10:02 +0100 Subject: [PATCH 2/2] chore(ci): removed unnecessary coveralls step for release changelog generator --- .github/workflows/release_changelog.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.github/workflows/release_changelog.yml b/.github/workflows/release_changelog.yml index 83f6bedda..5d9861f92 100644 --- a/.github/workflows/release_changelog.yml +++ b/.github/workflows/release_changelog.yml @@ -23,13 +23,3 @@ jobs: body: ${{ steps.github_release.outputs.changelog }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}} - finish: - needs: build - if: ${{ always() }} - runs-on: ubuntu-latest - steps: - - name: Coveralls Finished - uses: coverallsapp/github-action@v2 - with: - parallel-finished: true - carryforward: run-jvm-8,run-jvm-11,run-jvm-17