chore(deps): bump version.quarkus-roq from 2.0.5 to 2.1.0 #203
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" |