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