From d72ccde160174f9f750f6c99f949ebe719292026 Mon Sep 17 00:00:00 2001 From: Matej Novotny Date: Wed, 10 Jun 2026 12:55:31 +0200 Subject: [PATCH] Trigger 7.0.0.Beta2 release --- .github/project.yml | 2 +- .github/workflows/release.yml | 21 ++++++++++++++++++++- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/.github/project.yml b/.github/project.yml index 849b7e277b..732cfcb640 100644 --- a/.github/project.yml +++ b/.github/project.yml @@ -1,5 +1,5 @@ name: Weld Core release release: - current-version: 7.0.0.Beta1 + current-version: 7.0.0.Beta2 next-version: 7.0.0-SNAPSHOT diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 66ef911caf..5e4f633bf8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,6 +26,8 @@ jobs: uses: actions/checkout@v6 with: token: ${{secrets.RELEASE_TOKEN}} + # Full history needed for git describe in the GitHub Release step + fetch-depth: 0 - name: Set up JDK 17 uses: actions/setup-java@v5 @@ -62,4 +64,21 @@ jobs: uses: actions/upload-artifact@v7 with: name: dist - path: ./dist/weld-* \ No newline at end of file + path: ./dist/weld-* + + - name: Create GitHub Release + env: + GH_TOKEN: ${{secrets.RELEASE_TOKEN}} + run: | + TAG=${{steps.metadata.outputs.current-version}} + PREV_TAG=$(git describe --abbrev=0 --tags "${TAG}^") + PRERELEASE_FLAG="" + if echo "${TAG}" | grep -qE 'Alpha|Beta|CR'; then + PRERELEASE_FLAG="--prerelease" + fi + gh release create "${TAG}" \ + --generate-notes \ + --previous-tag "${PREV_TAG}" \ + --title "Weld ${TAG}" \ + ${PRERELEASE_FLAG} \ + ./dist/weld-*.zip \ No newline at end of file