From 627f718dbcc953f0b4ddccfafe2dbbf510cca590 Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Sat, 8 Jun 2024 22:22:44 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=A6=F0=9F=A7=AA=20Include=20the=20chan?= =?UTF-8?q?gelog=20patch=20into=20sdist?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci-cd.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index ec67d2ca0..35fa57f45 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -894,6 +894,22 @@ jobs: }} ref: ${{ github.event.inputs.release-committish }} + - name: Fetch the GHA artifact with the version patch + uses: actions/download-artifact@v3 + with: + name: changelog + - name: Apply the changelog patch but do not commit it + run: git apply '${{ needs.pre-setup.outputs.changelog-patch-name }}' + shell: bash + - name: Delete the changelog patch file + run: rm -fv '${{ needs.pre-setup.outputs.changelog-patch-name }}' + shell: bash + - name: Pretend that changelog updates never happened + run: | + git diff --color=always + git update-index --assume-unchanged $(git ls-files --modified) + shell: bash + - name: >- Calculate Python interpreter version hash value for use in the cache key