简体   繁体   English

PHP锂(li3)如何找出版本

[英]PHP lithium(li3) how to find out version

如果我有一个我没有设置的锂应用程序,我如何找到该版本?

I don't think they put a timestamp on the files themselves. 我认为他们不会在文件上加上时间戳。 I would suggest you look at the test cases and look at the most recent timestamp. 我建议你查看测试用例并查看最新的时间戳。

If your using it via git submodules , it's pretty easy. 如果你通过git submodules使用它,那很容易。

$ cd libraries/lithium
$ git log -1 | grep commit
commit 97be2347d5a2e9b096db44c009df79ee9b6c0199

Which is, in this case, the 0.10: https://github.com/UnionOfRAD/lithium/tags 在这种情况下,这是0.10: https//github.com/UnionOfRAD/lithium/tags

I dunno if it makes sense to have strict version numbers in the pre-1.0 state. 如果在1.0之前的版本中拥有严格的版本号是有道理的,我不知道。 Everything can and might break during an upgrade. 在升级期间,一切都可能并且可能会中断。

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

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