2
使用Capistrano 3.4,有沒有一個命令來查找當前部署的版本(分支和標籤/修訂版)?Capistrano - 找到當前部署的版本
在部署的根目錄中有一個文件revisions.log
。我可以創建自定義命令解析它,尤其是在回退的情況下,它不是很容易解析:
Branch master (at 21) deployed as release 20151207160059 by Marco Branch master (at 22) deployed as release 20151207180000 by Marco Marco rolled back to release 20151207160059