Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: set version in composer.json #1890

Merged
merged 1 commit into from
Jul 4, 2024

Conversation

kesselb
Copy link
Contributor

@kesselb kesselb commented Jul 4, 2024

When running dump-autoload, then composer tries to find a matching version number.

Sometimes the VCS detection does not work and the generated version number changes from the commit hash to the fallback and back to the generated version when someone else updates the package.

We are now using a version number in composer.json to avoid a version number ping-pong.

When running dump-autoload, then composer tries to find a matching version number.

Sometimes the VCS detection does not work and the generated version number changes from the commit hash to the fallback and back to the generated version when someone else updates the package.

We are now using a version number in composer.json to avoid a version number ping-pong.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
@@ -1568,12 +1568,12 @@
"version": "v5.2.13",
"source": {
"type": "git",
"url": "https://github.com/justinrainbow/json-schema.git",
"url": "https://github.com/jsonrainbow/json-schema.git",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've updated the lockfile with composer update --no-dev --lock and therefore we are seeing the updated hash for the relocated repo here.

@kesselb kesselb merged commit e153540 into master Jul 4, 2024
7 checks passed
@kesselb kesselb deleted the debt/noid/set-version-in-composer branch July 4, 2024 10:47
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.

2 participants