Answer the question
In order to leave comments, you need to log in
How to get the latest commits from github using composer?
A repository is being created on github. Further, it is edited locally and uploaded through their own software with an interface (github). There are no releases, everything flows into dev-master
I run composer update and get an arbitrary commit. Not the last, but one of the last. How to overcome this sadness?
rummaged help, did not find. I expect something like composer update --suka-last-commit
Composer.json now has version * , apparently in this trouble. But how to specify the last commit?
Answer the question
In order to leave comments, you need to log in
Friend, it's all here .
Make a hook that will say that the code has been updated, make tags with versioning, well, request the appropriate version from composer.json
Everything should work.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question