ansible-module/upload.sh

8 Zeilen
281 B
Bash

#!/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
2024-03-08 21:44:08 +00:00
ansible-galaxy collection publish dist/galaxy/*
hatch publish -r ansible dist/python/*