From 7b1ee6a9d9d6b6bebfc375ead60377d7dae76078 Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Fri, 13 May 2022 09:47:56 +0800 Subject: [PATCH] Update main.yml --- apps/roles/erpnext/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/roles/erpnext/tasks/main.yml b/apps/roles/erpnext/tasks/main.yml index 59b980e0..8f7320cf 100644 --- a/apps/roles/erpnext/tasks/main.yml +++ b/apps/roles/erpnext/tasks/main.yml @@ -1,2 +1,2 @@ - name: Check {{appname}} Version - shell: sudo echo "DiscuzQ version $(docker exec -it discuzq bash -c 'grep -rn "const VERSION =" /var/www/discuz/vendor/discuz/core/src/Foundation/Application.php | awk "{print \$5}" | tr -d ";"')" 1>> /data/logs/install_version.txt + shell: sudo echo "erpnext version:" $(docker exec -it $(docker ps |grep frappe-socketio |awk '{print $1}') cat app_versions.json |grep -m 1 "erpnext" |awk '{print $2}') |sudo tee -a /data/logs/install_version.txt