diff --git a/.github/workflows/release_changelog.yml b/.github/workflows/release_changelog.yml index 01345cac..5d9861f9 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: @@ -22,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 diff --git a/.github/workflows/release_to_central.yml b/.github/workflows/release_to_central.yml deleted file mode 100644 index 761a44c1..00000000 --- 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 }}