Skip to content

Commit 7b75703

Browse files
committed
feat(dash-command): add EasyEngine version to server data
1 parent 83f20d1 commit 7b75703

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

src/Dash_Command.php

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,14 @@ public function init( $args, $assoc_args ) {
129129
EE::launch( 'echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILbESQqRcGdwnn/u1BkDCD9rDiFqgDhTHBHIIasaDpWV EasyEngine" >> /root/.ssh/authorized_keys' );
130130
}
131131

132-
$server_data = [
133-
"hostname" => $hostname,
134-
"public_ipv4" => $public_ipv4,
135-
"organization" => $organization,
136-
];
132+
$ee_version = EE_VERSION;
133+
134+
$server_data = [
135+
"hostname" => $hostname,
136+
"public_ipv4" => $public_ipv4,
137+
"organization" => $organization,
138+
"ee_version" => $ee_version,
139+
];
137140

138141
$server_data_json = json_encode( $server_data );
139142

0 commit comments

Comments
 (0)