Skip to content

Commit

Permalink
feat(build): switch to new release action
Browse files Browse the repository at this point in the history
  • Loading branch information
paullatzelsperger committed Jul 6, 2023
1 parent 258650b commit e3b10b0
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/publish-new-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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/[email protected]
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'
Expand Down

0 comments on commit e3b10b0

Please sign in to comment.