diff --git a/.github/workflows/publish-new-release.yml b/.github/workflows/publish-new-release.yml index 9ab9964fb..3d42b4eb2 100644 --- a/.github/workflows/publish-new-release.yml +++ b/.github/workflows/publish-new-release.yml @@ -59,6 +59,8 @@ jobs: maven-release: name: Publish extension's release version to maven repository needs: [ release-version ] + # TODO: remove + continue-on-error: true runs-on: ubuntu-latest permissions: contents: read @@ -91,6 +93,8 @@ jobs: docker-release: name: Publish Docker images runs-on: ubuntu-latest + # TODO: remove + continue-on-error: true needs: [ release-version ] permissions: contents: write @@ -126,6 +130,8 @@ jobs: name: Publish new helm release needs: [ release-version ] runs-on: ubuntu-latest + # TODO: remove + continue-on-error: true permissions: contents: write packages: write @@ -197,17 +203,14 @@ jobs: # Create & push tag git tag --force ${{ env.RELEASE_VERSION }} git push --force origin ${{ env.RELEASE_VERSION }} - - name: Create Github Release - id: create_release - uses: thomaseizinger/create-release@1.0.0 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Create GitHub Release + uses: ncipollo/release-action@v1 with: - target_commitish: ${{ github.event.pull_request.merge_commit_sha }} - tag_name: ${{ env.RELEASE_VERSION }} - name: ${{ env.RELEASE_VERSION }} - draft: false - prerelease: false + generateReleaseNotes: true + tag: ${{ env.RELEASE_VERSION }} + token: ${{ secrets.GITHUB_TOKEN }} + makeLatest: true + removeArtifacts: true - uses: ./.github/actions/setup-java - name: Merge releases back into main and set new snapshot version if: github.event.pull_request.base.ref == 'releases'