From 9eb8e7d9a2e9b8af2b408681a5c34cddc2506b0a Mon Sep 17 00:00:00 2001 From: pulpbot Date: Mon, 20 Oct 2025 15:57:05 +0000 Subject: [PATCH] Update CI files --- .ci/scripts/skip_tests.py | 1 - .github/workflows/publish.yml | 5 ++++- .github/workflows/scripts/build_python_client.sh | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.ci/scripts/skip_tests.py b/.ci/scripts/skip_tests.py index 2a21a723..a68d000d 100755 --- a/.ci/scripts/skip_tests.py +++ b/.ci/scripts/skip_tests.py @@ -25,7 +25,6 @@ DOC_PATTERNS = [ r"^docs/", r"\.md$", - r"\.txt$", r"LICENSE.*", r"CHANGELOG.*", r"CHANGES.*", diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index dbcd07a8..018013ad 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -167,8 +167,11 @@ jobs: pip install towncrier - name: "Get release notes" - id: get_release_notes + id: "get_release_notes" + shell: "bash" run: | + # The last commit before the release commit contains the release CHANGES fragments + git checkout "${TAG_NAME}~" NOTES=$(towncrier build --draft --version $TAG_NAME) echo "body<> $GITHUB_OUTPUT echo "$NOTES" >> $GITHUB_OUTPUT diff --git a/.github/workflows/scripts/build_python_client.sh b/.github/workflows/scripts/build_python_client.sh index e86ffc29..53db9132 100755 --- a/.github/workflows/scripts/build_python_client.sh +++ b/.github/workflows/scripts/build_python_client.sh @@ -24,7 +24,7 @@ pushd pulp_python-client python setup.py sdist bdist_wheel --python-tag py3 twine check "dist/pulp_python_client-"*"-py3-none-any.whl" -twine check "dist/pulp_python-client-"*".tar.gz" +twine check "dist/pulp_python_client-"*".tar.gz" tar cvf "../../pulp_python/python-python-client.tar" ./dist