From 29d599c98921661f5a879fcb4b5c686bdcce69a3 Mon Sep 17 00:00:00 2001 From: Rich Megginson Date: Wed, 24 Jan 2024 14:13:04 -0700 Subject: [PATCH] ver 1.69.0; add snapshot role; add empty CHANGELOG.rst --- collection_release.yml | 5 ++++- galaxy.yml | 2 +- lsr_role2collection/COLLECTION_CHANGELOG.md | 7 +++++++ release_collection.py | 6 ++++++ 4 files changed, 18 insertions(+), 2 deletions(-) diff --git a/collection_release.yml b/collection_release.yml index 0ba983f5..3fba21f6 100644 --- a/collection_release.yml +++ b/collection_release.yml @@ -61,7 +61,7 @@ cockpit: ref: 1.5.3 sourcenum: 20 podman: - ref: 1.4.4 + ref: 1.4.5 sourcenum: 21 ad_integration: ref: 1.4.1 @@ -87,3 +87,6 @@ fapolicyd: bootloader: ref: 1.0.0 sourcenum: 29 +snapshot: + ref: 1.0.0 + sourcenum: 30 diff --git a/galaxy.yml b/galaxy.yml index 902da134..de768d7d 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,7 +1,7 @@ --- namespace: "fedora" name: "linux_system_roles" -version: "1.68.0" +version: "1.69.0" description: "Ansible roles for linux system components management" authors: diff --git a/lsr_role2collection/COLLECTION_CHANGELOG.md b/lsr_role2collection/COLLECTION_CHANGELOG.md index 7684723f..450150a7 100644 --- a/lsr_role2collection/COLLECTION_CHANGELOG.md +++ b/lsr_role2collection/COLLECTION_CHANGELOG.md @@ -1,6 +1,13 @@ Changelog ========= +[1.69.0] - 2024-01-24 +--------------------- + +### New Features + +- snapshot - New Role + [1.68.0] - 2024-01-24 --------------------- diff --git a/release_collection.py b/release_collection.py index 5ba6f95e..c170ffe2 100755 --- a/release_collection.py +++ b/release_collection.py @@ -735,6 +735,12 @@ def update_collection(args, galaxy, coll_rel): # Convert CHANGELOG.md to CHANGELOG.rst if args.changelog_rst: convert_md2rst(coll_dir) + else: + changelog_rst_file = os.path.join(coll_dir, "CHANGELOG.rst") + # ERROR: CHANGELOG.rst file not found at top level of collection. + if not os.path.exists(changelog_rst_file): + with open(changelog_rst_file, "w"): + pass build_collection(args, coll_dir, galaxy)