library scm-revision-number-retriever
Retrieves the current revision number which project now refers to.
issei-m/scm-revision-number-retriever
Retrieves the current revision number which project now refers to.
- Saturday, August 22, 2015
- by issei-m
- Repository
- 1 Watchers
- 0 Stars
- 3,195 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 0 % Grown
ScmRevisionNumberRetriever
, (*1)
This library just reads specified file content and returns it., (*2)
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:, (*3)
$retriever = new \Issei\ScmRevisionNumberRetriever('/path/to/your-project/REVISION');
var_dump($retriever->getCurrentRevisionNumber()); // content of "/path/to/your-project/REVISION"
dev-master
9999999-dev
Retrieves the current revision number which project now refers to.
Sources
Download
MIT
The Requires
The Development Requires
by
Issei Murasawa
git
revision
capistrano
v1.0
1.0.0.0
Retrieves the current revision number which project now refers to.
Sources
Download
MIT
The Requires
The Development Requires
by
Issei Murasawa
git
revision
capistrano