Create get_version.sh

This commit is contained in:
qiaofeng1227 2022-07-16 11:41:40 +08:00 committed by GitHub
parent a9b6f4ffe3
commit a410544d89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

1
src/get_version.sh Normal file
View File

@ -0,0 +1 @@
sudo echo "erpnext version:" $(docker exec -it $1 cat app_versions.json |grep -m 1 "erpnext" |awk '{print $2}') |sudo tee -a /data/logs/install_version.txt