After I deploy by command to my server:
bin/dep deploy
In "releases
" folder I have folders named liked 1
, 2
, 3
, ...
How can I change it to timestamp, so after deploy command I'll get something like this 20160425120500
instead of 1
bin/dep --version
Deployer 6.0.5
I`m not checked solution, but you can try this
set('release_name', function () {
return (string) run('date +"%s"');
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With