Skip to content

Sync console application version & add release Makefile#612

Merged
veewee merged 1 commit into
phpro:v6.xfrom
veewee:fix/console-version-sync
May 29, 2026
Merged

Sync console application version & add release Makefile#612
veewee merged 1 commit into
phpro:v6.xfrom
veewee:fix/console-version-sync

Conversation

@veewee
Copy link
Copy Markdown
Contributor

@veewee veewee commented May 29, 2026

Problem

The console application reported a hardcoded version (5.0.0) that drifted from the released git tags, so ./bin/soap-client printed a stale version. (Fixes #611)

$ ./bin/soap-client
SoapClient 5.0.0

Changes

  • Bump Application::APP_VERSION to 6.1.0 to match the latest release.
  • Add a Makefile tag target (modelled on phpro/grumphp) that rewrites APP_VERSION, lints the file, commits and creates a signed tag without the v prefix — matching the current tag convention — so the constant and the git tag stay in sync by construction:
make tag TAG=6.2.0

The console application reported a hardcoded version (5.0.0) that drifted
from the released git tags, so `./bin/soap-client` printed a stale version
(see phpro#611).

- Bump APP_VERSION to 6.1.0 to match the latest release.
- Add a Makefile `tag` target (modelled on phpro/grumphp) that rewrites
  APP_VERSION, lints, commits and creates a signed tag without the `v`
  prefix, keeping the constant and the tag in sync by construction.
@veewee veewee merged commit 477c6dd into phpro:v6.x May 29, 2026
4 checks passed
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.

Console Application Version ID is out of sync with the Actual version

1 participant