From 0c250c99ce6c3d2b318343c4e3e8e5ba00b981ac Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 2 Jan 2025 18:03:41 +0800 Subject: [PATCH] fix: ci --- iot_upload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iot_upload.py b/iot_upload.py index 8965c78..d99b6f3 100644 --- a/iot_upload.py +++ b/iot_upload.py @@ -163,7 +163,7 @@ def get_the_last_windowsApp_GITversion(name): print('正在git获取上一个版本的代码:') os.system('mkdir -p /tmp/theLastCode/') - os.system('git clone ' + os.getenv('DRONE_GIT_HTTP_URL') + ' /tmp/theLastCode/IOTContainer/' ) + os.system('cd /tmp/theLastCode/ && git clone ' + os.getenv('DRONE_GIT_HTTP_URL') + ' .' ) os.system('ls && pwd' ) os.system('cd /tmp/theLastCode/ && git checkout ' + the_last_windowsAppZIP_GITversion) return the_last_windowsAppZIP_GITversion