Skip to content

fix(release): correct module reference version updates and add safety tests#37

Merged
nhs-oliverslater merged 6 commits into
mainfrom
feature/BCSS-23316-update-publish-workflow-preparecmd
May 27, 2026
Merged

fix(release): correct module reference version updates and add safety tests#37
nhs-oliverslater merged 6 commits into
mainfrom
feature/BCSS-23316-update-publish-workflow-preparecmd

Conversation

@nhs-oliverslater
Copy link
Copy Markdown
Contributor

Description

  • Fix release updater behavior for local module source version replacements under infrastructure/modules.
  • Fix handling of version formats so both plain and v-prefixed versions are updated correctly.
  • Fix pinning behavior so pin and unpin controls apply only to Terraform source files.
  • Keep README updates automatic for terraform-docs generated content.
  • Add and validate a smoke test for release updater behaviour across normal, pinned, and unpinned cases.

Context

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I am familiar with the contributing guidelines
  • I have followed the code style of the project
  • I have added tests to cover my changes
  • I have updated the documentation accordingly
  • This PR is a result of pair or mob programming

Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

@nhs-oliverslater nhs-oliverslater merged commit 8079edd into main May 27, 2026
8 checks passed
@nhs-oliverslater nhs-oliverslater deleted the feature/BCSS-23316-update-publish-workflow-preparecmd branch May 27, 2026 18:24
github-actions Bot pushed a commit that referenced this pull request May 27, 2026
## [2.1.1](v2.1.0...v2.1.1) (2026-05-27)

### Bug Fixes

* **release:** correct module reference version updates and add safety tests ([#37](#37)) ([8079edd](8079edd))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant