ansible-module/upload.sh

8 Zeilen
281 B
Bash
Ausführbare Datei

#!/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\n" $user $package $version
ansible-galaxy collection publish dist/galaxy/*
hatch publish -r ansible dist/python/*