Skip to content

Commit 627f718

Browse files
committed
📦🧪 Include the changelog patch into sdist
1 parent 13374a7 commit 627f718

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/ci-cd.yml

+16
Original file line numberDiff line numberDiff line change
@@ -894,6 +894,22 @@ jobs:
894894
}}
895895
ref: ${{ github.event.inputs.release-committish }}
896896

897+
- name: Fetch the GHA artifact with the version patch
898+
uses: actions/download-artifact@v3
899+
with:
900+
name: changelog
901+
- name: Apply the changelog patch but do not commit it
902+
run: git apply '${{ needs.pre-setup.outputs.changelog-patch-name }}'
903+
shell: bash
904+
- name: Delete the changelog patch file
905+
run: rm -fv '${{ needs.pre-setup.outputs.changelog-patch-name }}'
906+
shell: bash
907+
- name: Pretend that changelog updates never happened
908+
run: |
909+
git diff --color=always
910+
git update-index --assume-unchanged $(git ls-files --modified)
911+
shell: bash
912+
897913
- name: >-
898914
Calculate Python interpreter version hash value
899915
for use in the cache key

0 commit comments

Comments
 (0)