mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-23 16:54:08 +01:00
Update comment
This commit is contained in:
parent
79cd299dc2
commit
c40a1bc428
@ -98,7 +98,7 @@ task('deploy:update_code', function () {
|
||||
throw new ConfigurationException(parse("Unknown `update_code_strategy` option: {{update_code_strategy}}."));
|
||||
}
|
||||
|
||||
// Save revision in .dep and in variable for later usage in scripts.
|
||||
// Save git revision in REVISION file.
|
||||
$rev = escapeshellarg(run("$git rev-list $at -1"));
|
||||
run("echo $rev > {{release_path}}/REVISION");
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user