issei-m/scm-revision-number-retriever
最新稳定版本:v1.0
Composer 安装命令:
composer require issei-m/scm-revision-number-retriever
包简介
Retrieves the current revision number which project now refers to.
关键字:
README 文档
README
This library just reads specified file content and returns it.
If you use Capistrano 3 to deploy app, The REVISION file is located to your application's root directory.
This means it might help you to see the current revision which project now refers to like this:
$retriever = new \Issei\ScmRevisionNumberRetriever('/path/to/your-project/REVISION'); var_dump($retriever->getCurrentRevisionNumber()); // content of "/path/to/your-project/REVISION"
统计信息
- 总下载量: 3.28k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-08-22