From 8dbb67faf82d7f85dd1d79e44b381f3dc487835b Mon Sep 17 00:00:00 2001 From: Sebastian Tobie Date: Sat, 24 Feb 2024 10:21:48 +0100 Subject: [PATCH] the upload script now upload python and ansible packages correctly --- upload.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/upload.sh b/upload.sh index 74d1185..5fad7ad 100755 --- a/upload.sh +++ b/upload.sh @@ -8,6 +8,8 @@ upload(){ printf "uploading: %s as %s\n" "$1" "$name" curl -u sebastian --upload-file "$1" "https://gitea.sebastian-tobie.de/api/packages/ansible/generic/${package}/${version}/$name" } -for file in dist/* ; do +for file in dist/sebastian* ; do upload "$file" done +rm -f dist/sebastian* +hatch publish -r ansible