From 97872cfec5bca37e6191686e5a3bb6fff8c1bfd6 Mon Sep 17 00:00:00 2001 From: Maksim Ivanov Date: Tue, 27 Aug 2024 15:28:20 +0300 Subject: [PATCH] chore: revert warning (#8698) --- .github/workflows/create-release.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 8b68a1127ed6..54b91bc57021 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -82,6 +82,14 @@ jobs: body: | ${{ steps.get-pr-body.outputs.body }} + --- + + > **DO NOT SQUASH OR REBASE ME** + + > if user merges this PR via rebasing or using squash, it will cause lost of the tag. It happens because tag is already + > attached to the initial release commit SHA. If we use rebase or squash, the commit sha changes and already created tag + > points to not-existing commit. + - name: Create GitHub Release if: ${{ env.IS_DRY_MODE == 'false' && env.IS_RRE_RELEASE_MODE == 'false' }} uses: ncipollo/release-action@v1.14.0