diff --git a/CHANGELOG.rst b/CHANGELOG.rst index ea093ba..10858aa 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,19 @@ Ansible Podman modules and plugins Release Notes .. contents:: Topics +v1.19.2 +======= + +Release Summary +--------------- + +Fix quadlet_options being incorrectly placed under Service section + +Bugfixes +-------- + +- podman_container - Fix quadlet_options placement when restart_policy is set + v1.19.1 ======= diff --git a/CLAUDE.md b/CLAUDE.md index c51ce08..1c43ca2 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -42,7 +42,7 @@ All commits in this repository require a **Signed-off-by** line (DCO). Always us - **Build collection**: `ansible-galaxy collection build` - **Build RPM**: `make rpm` -- **Set version**: `python contrib/build.py ` — reads `galaxy.yml.in` template, adds version, writes `galaxy.yml` +- **Set version**: `sed -i 's/^version: .*/version: /' galaxy.yml` - **Publish to Galaxy**: `bash contrib/publish.sh ` (use `DRYRUN=1` for testing) ## Code Architecture @@ -109,8 +109,7 @@ For simple parameters, `diffparam_*` can delegate to `self._diff_generic("module ### Build System -- `galaxy.yml.in` — source template (no version field) -- `contrib/build.py ` — generates `galaxy.yml` from template with version injected +- `galaxy.yml` — collection metadata including version - `Makefile` — RPM packaging target ## Adding CI for a New Module @@ -186,7 +185,7 @@ If the module has complex state management, add a library in `plugins/module_uti Full details are in [RELEASING.md](RELEASING.md). Summary: 1. **Add a release section** in `changelogs/changelog.yaml` describing all user-facing changes since the previous release. Skip maintenance-only changes (CI, test infra, internal refactoring). -2. **Set the version**: `python contrib/build.py X.Y.Z` — updates `galaxy.yml` from the `galaxy.yml.in` template. +2. **Set the version**: `sed -i 's/^version: .*/version: X.Y.Z/' galaxy.yml` 3. **Generate CHANGELOG**: `antsibull-changelog release` — regenerates `CHANGELOG.rst` from `changelogs/changelog.yaml`. 4. **Update docs (major releases only)**: Run `contrib/build_docs.sh` to regenerate HTML docs. If new modules were added, `git add` their generated doc files first. Skip for patch releases. 5. **Create a PR** with the changelog, galaxy.yml, and CHANGELOG.rst changes. Merge to `main`. diff --git a/RELEASING.md b/RELEASING.md index cf66cec..3dcfe61 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -34,10 +34,10 @@ Valid change categories: `release_summary`, `major_changes`, `minor_changes`, `b Set the new version: ```bash -python contrib/build.py X.Y.Z +sed -i 's/^version: .*/version: X.Y.Z/' galaxy.yml ``` -This reads `galaxy.yml.in` and writes `galaxy.yml` with the version injected. +This updates the version field directly in `galaxy.yml`. ## Step 3: Generate the CHANGELOG diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index e57fc70..a346824 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -526,6 +526,13 @@ releases: - Add --platform option to podman_image release_summary: Fix podman network and add platform option to podman_image release_date: '2026-04-07' + 1.19.2: + changes: + bugfixes: + - podman_container - Fix quadlet_options placement when restart_policy is set + release_summary: Fix quadlet_options being incorrectly placed under Service + section + release_date: '2026-04-10' 1.2.0: changes: minor_changes: diff --git a/galaxy.yml b/galaxy.yml index 2190c61..90fba5f 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,6 +1,6 @@ namespace: containers name: podman -version: 1.19.1 +version: 1.19.2 readme: README.md authors: - Sagi Shnaidman