Skip to content

feat: detect app version bumps in version-bump#186

Merged
Dominik Grothaus (dgrothaus-sw) merged 2 commits into
mainfrom
feat-allow-app-version-notofication
Jul 24, 2026
Merged

feat: detect app version bumps in version-bump#186
Dominik Grothaus (dgrothaus-sw) merged 2 commits into
mainfrom
feat-allow-app-version-notofication

Conversation

@dgrothaus-sw

Copy link
Copy Markdown
Contributor

version-bump detects a strict version increase for apps as well as plugins: the version is read from composer.json (.version) for plugins and from manifest.xml (/manifest/meta/version, parsed with xmllint) for apps, preferring composer.json when both are present. The version-bump-notify reusable workflow and its Slack message are extension-neutral, so an app repo wires it up exactly like a plugin but triggers on manifest.xml.

The two-ref git show model, the version-aware comparison and the injection-safe output handling are unchanged; a missing file or version node stays silent while malformed input fails loud. The app path — including a manifest carrying the real xsi root attributes and the composer-over-manifest precedence — is covered by version-bump.test.bash.

The `version-bump` action now reads an app's version from `manifest.xml`
(`/manifest/meta/version`, via `xmllint`) alongside a plugin's
`composer.json`, so `version-bump-notify` also alerts when an app is
preparing a release. `composer.json` wins when both are present, and the
version-aware comparison and two-ref `git show` model are unchanged.
@dgrothaus-sw
Dominik Grothaus (dgrothaus-sw) merged commit b136909 into main Jul 24, 2026
11 checks passed
@dgrothaus-sw
Dominik Grothaus (dgrothaus-sw) deleted the feat-allow-app-version-notofication branch July 24, 2026 08:28
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.

3 participants