#!/bin/bash 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" ansible-galaxy collection publish dist/*