From 6ca89b21e5bb559a96e772ae794d32e1eb7afad8 Mon Sep 17 00:00:00 2001 From: pulpbot Date: Mon, 20 Oct 2025 15:27:02 +0000 Subject: [PATCH] Update CI files --- .github/workflows/publish.yml | 5 ++++- .github/workflows/scripts/build_python_client.sh | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c708522634..5424d7c041 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -171,8 +171,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 340e610a0f..1eec5eda7c 100755 --- a/.github/workflows/scripts/build_python_client.sh +++ b/.github/workflows/scripts/build_python_client.sh @@ -24,7 +24,7 @@ pushd pulpcore-client python setup.py sdist bdist_wheel --python-tag py3 twine check "dist/pulpcore_client-"*"-py3-none-any.whl" -twine check "dist/pulpcore-client-"*".tar.gz" +twine check "dist/pulpcore_client-"*".tar.gz" tar cvf "../../pulpcore/core-python-client.tar" ./dist @@ -59,7 +59,7 @@ pushd pulp_file-client python setup.py sdist bdist_wheel --python-tag py3 twine check "dist/pulp_file_client-"*"-py3-none-any.whl" -twine check "dist/pulp_file-client-"*".tar.gz" +twine check "dist/pulp_file_client-"*".tar.gz" tar cvf "../../pulpcore/file-python-client.tar" ./dist @@ -94,7 +94,7 @@ pushd pulp_certguard-client python setup.py sdist bdist_wheel --python-tag py3 twine check "dist/pulp_certguard_client-"*"-py3-none-any.whl" -twine check "dist/pulp_certguard-client-"*".tar.gz" +twine check "dist/pulp_certguard_client-"*".tar.gz" tar cvf "../../pulpcore/certguard-python-client.tar" ./dist