简体   繁体   English

Composer 不会安装我最新的标签,但总是会安装一个旧版本

[英]Composer will not install my newest tag, but one version older, always

I recently added a package to composer with correct tags and all stuff that needs to make it work.我最近添加了一个 package 给作曲家,带有正确的标签和所有需要让它工作的东西。 Whenever I try to require this package or update an installation it won't install my earliest tag, but exactly one older.每当我尝试要求此 package 或更新安装时,它都不会安装我最早的标签,而是安装一个较旧的标签。

The package can be found here: https://packagist.org/packages/gumnet/magento-2-automatic-cancel-pending-orders package 可以在这里找到: https://packagist.org/packages/gumnet/magento-2-automatic-cancel-pending-orders

For now I made a workaround always creating one more tag after an update and clients get the updated code, but that's not the best option.现在我做了一个解决方法,总是在更新后再创建一个标签,客户端得到更新的代码,但这不是最好的选择。

Anyone can help me with that?任何人都可以帮助我吗?

Thanks !谢谢 !

Nico Haase you are right !尼科哈斯你是对的!

I am adding a response just to close the answer.我添加一个响应只是为了关闭答案。 I could not install the newest version because I did not give enough time to composer be fully updated.我无法安装最新版本,因为我没有给作曲家足够的时间来完全更新。 After some minutes it works fine.几分钟后,它工作正常。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM