[PATCH] scripts: Fix twine upload pattern

0 views
Skip to first unread message

Jan Kiszka

unread,
May 27, 2026, 7:11:10 PM (3 days ago) May 27
to kas-devel
From: Jan Kiszka <jan.k...@siemens.com>

This is not properly resolving, likely due to the required quotes.
Better unfold and be safe.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>
---
scripts/release.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/release.sh b/scripts/release.sh
index 8eabcfd..3bdae21 100755
--- a/scripts/release.sh
+++ b/scripts/release.sh
@@ -42,7 +42,7 @@ git tag -s -m "Release $NEW_VERSION" "$NEW_VERSION"
git push --follow-tags

python3 -m build
-twine upload -s -r pypi "dist/{kas-$NEW_VERSION.tar.gz,kas-$NEW_VERSION-py3-none-any.whl}"
+twine upload -s -r pypi "dist/kas-$NEW_VERSION.tar.gz" "dist/kas-$NEW_VERSION-py3-none-any.whl"

authors=$(git shortlog -s "$OLD_VERSION".."$NEW_VERSION" | cut -c8- | paste -s -d, - | sed -e 's/,/, /g')
highlights=$(sed -e "/$OLD_VERSION$/,\$d" CHANGELOG.md)
--
2.47.3
Reply all
Reply to author
Forward
0 new messages