ansible-module/Makefile

27 Zeilen
497 B
Makefile

2024-03-16 09:39:59 +00:00
VERSION := $(shell hatch version)
format:
black .
isort .
2024-03-16 09:39:59 +00:00
version:
@yq --yaml-output-grammar-version 1.2 -i -y -s --arg 'version' "${VERSION}" '.[0] | (.version = $$version)' galaxy.yml
changelog: version
antsibull-changelog generate
docs: format
update-doc
clean-dist:
rm -rf dist
2024-03-16 09:39:59 +00:00
hatch-release: clean-dist version
hatch build
2024-03-16 09:39:59 +00:00
galaxy-release: clean-dist changelog version
2024-03-08 21:44:08 +00:00
ansible-galaxy collection build --output-path dist/galaxy
upload: galaxy-release hatch-release
./upload.sh