Skip to content

chore(deps): bump version.quarkus.platform from 3.34.3 to 3.34.5 #204

chore(deps): bump version.quarkus.platform from 3.34.3 to 3.34.5

chore(deps): bump version.quarkus.platform from 3.34.3 to 3.34.5 #204

name: Release Drafter
on:
push:
branches:
- main
pull_request:
types: [opened, reopened, synchronize]
permissions:
contents: read
jobs:
update_release_draft:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Run release drafter
id: drafter
uses: release-drafter/release-drafter@v7
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout
if: github.event_name == 'push'
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Java
if: github.event_name == 'push'
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
- name: Sync draft release version with build
if: github.event_name == 'push'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
VERSION=$(./mvnw help:evaluate -Dexpression=project.version -DforceStdout -B -q -N)
RELEASE_VERSION=${VERSION%-SNAPSHOT}
echo "Nisse version: $VERSION -> Release version: $RELEASE_VERSION"
gh api repos/${{ github.repository }}/releases/${{ steps.drafter.outputs.id }} \
-X PATCH \
-f name="$RELEASE_VERSION" \
-f tag_name="$RELEASE_VERSION"