#105 Add current running version somewhere in the site

state: closed opened by: adrianharabula on: 5/20/2017

Comments


from: adrianharabula on: 5/20/2017

this is what we currently have:

        \SSH::run([
            'cd /root/condr/app',
            '/root/.config/composer/vendor/laravel/envoy/envoy run getlastcommit',
        ], function($line)
        {
            $line = str_replace("[127.0.0.1]:", '', $line);
            \Debugbar::addmessage($line, "Version");
        });

from: adrianharabula on: 5/21/2017

Updated version using post-commit hook. image


from: adrianharabula on: 6/6/2017

image

results matching ""

    No results matching ""