From 31b5fa26a8fc7a5db31965e053f845189485e71c Mon Sep 17 00:00:00 2001 From: Sebastian Tobie Date: Mon, 11 Mar 2024 20:42:20 +0100 Subject: [PATCH] uploads are now usign the galaxy --- Makefile | 2 +- upload.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9c7e6a7..981f701 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ docs: format update-doc release: changelog docs - ansible-galaxy collection build + ansible-galaxy collection build --output-path dist upload: release ./upload.sh diff --git a/upload.sh b/upload.sh index fa372d9..39db413 100755 --- a/upload.sh +++ b/upload.sh @@ -3,4 +3,4 @@ user=$(yq -r .namespace galaxy.yml) package=$(yq -r .name galaxy.yml) version=$(yq -r .version galaxy.yml) printf "Namespace: %s\nPackage: %s\nVersion: %s\nfile name: %s\n" $user $package $version "$user-$package-$version.tar.gz" -curl -u sebastian --upload-file "${user}-${package}-${version}.tar.gz" "https://gitea.sebastian-tobie.de/api/packages/ansible/generic/${package}/${version}/${user}-${package}-${version}.tar.gz" +ansible-galaxy collection publish dist/*