-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Deployer detects wrong version when using composer global bin #1842
Comments
Please correct me if I miss something. Thank you! |
Nice. I think we can use it. |
@antonmedv Can I help to create a pull request? I have to target "master" branch, don't I? |
Yes, master. |
This issue is solved. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Deployer detects wrong version when using composer global bin.
I installed
deployer/deployer
package as a global composer package instead of usingdeployer.phar
file.Steps to reproduce
PATH
environment variable.dep
command with the '--version' option.Expected: "Deployer {{expected_version}}"
Actual: "Deployer master"
Output log
This isn't a bug about deploying, so I just try to describe the problem above.
Suggestion
I think we may use
vendor/composer/installed.json
file instead ofcomposer.lock
file.Quickly refer this line for more details.
deployer/bin/dep
Line 94 in a7d03f8
It's simply solved by the code sample below:
The text was updated successfully, but these errors were encountered: