diff --git a/.bumpversion.cfg b/.bumpversion.cfg new file mode 100644 index 0000000..bcad484 --- /dev/null +++ b/.bumpversion.cfg @@ -0,0 +1,6 @@ +[bumpversion] +commit = False +tag = False +current_version = 1.3.0 + +[bumpversion:file:galaxy.yml] diff --git a/Makefile b/Makefile index e19348d..ed5f367 100644 --- a/Makefile +++ b/Makefile @@ -43,6 +43,11 @@ $(NAMESPACE)-$(NAME)-$(VERSION).tar.gz: $(addprefix build/src/,$(DEPENDENCIES)) dist: $(NAMESPACE)-$(NAME)-$(VERSION).tar.gz +release-%: + bumpversion $* + antsibull-changelog release + make doc + publish: $(NAMESPACE)-$(NAME)-$(VERSION).tar.gz ansible-galaxy collection publish --api-key $(GALAXY_API_KEY) $<