From bcd1689a3aa2c60e6d180f78c8099fda46867db0 Mon Sep 17 00:00:00 2001 From: Teddy Andrieux Date: Sat, 27 Jul 2024 07:42:29 +0200 Subject: [PATCH 1/2] .github: Fix handling of tag message in release --- .github/workflows/publish.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index f3c2428685..efb148fd02 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -36,6 +36,11 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + # NOTE: We explicitly set the refs otherwise the tag + # annotations content is not fetched + # See: https://github.com/actions/checkout/issues/882 + ref: ${{ github.ref }} - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -134,12 +139,9 @@ jobs: - name: Get tag message if: inputs.is_production id: get_tag_message - # Explicitly fetching tags since checkout fetch-tags does not works well - # Sees: https://github.com/actions/checkout/issues/1471 run: |- - git fetch --tags echo "message<> $GITHUB_OUTPUT - git tag -l --format='%(contents)' "${{ env.SHELL_UI_VERSION }}" | tail -n +4 >> $GITHUB_OUTPUT + git tag -l --format='%(contents)' "${{ env.SHELL_UI_VERSION }}" | tail -n +4 | tee -a $GITHUB_OUTPUT echo "EOF" >> $GITHUB_OUTPUT - uses: softprops/action-gh-release@v2 From e874300318749154358a1a58cdee92bd04313e4c Mon Sep 17 00:00:00 2001 From: Teddy Andrieux Date: Sat, 27 Jul 2024 07:43:19 +0200 Subject: [PATCH 2/2] Release 126.0.3 --- CHANGELOG.md | 2 +- VERSION | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 03feeea799..b35029c201 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # CHANGELOG -## Release 126.0.3 (in development) +## Release 126.0.3 ### Enhancements diff --git a/VERSION b/VERSION index ac56b6a696..a2caf92683 100644 --- a/VERSION +++ b/VERSION @@ -1,4 +1,4 @@ VERSION_MAJOR=126 VERSION_MINOR=0 VERSION_PATCH=3 -VERSION_SUFFIX=-dev +VERSION_SUFFIX=