From 5666ed5452c63cf5e1263cfc1a568aa00dd2717e Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 3 Jan 2025 14:05:03 +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 4550041..d11c540 100644 --- a/iot_upload.py +++ b/iot_upload.py @@ -162,7 +162,7 @@ def get_the_last_windowsApp_GITversion(name): os.system('cp -rp /drone/src/ /tmp/theLastCode') os.chdir('/tmp/theLastCode/') # os.system('git clone ' + os.getenv('DRONE_GIT_HTTP_URL') + ' .' ) - os.system('git checkout -b ' + os.getenv('DRONE_BRANCH') + ' ' + the_last_windowsAppZIP_GITversion) + os.system('git checkout ' + the_last_windowsAppZIP_GITversion) os.system('ls && pwd && git describe --abbrev=0 --tags' ) return the_last_windowsAppZIP_GITversion else: