diff --git a/IOTContainer/testci b/IOTContainer/testci index d800886..4632e06 100644 --- a/IOTContainer/testci +++ b/IOTContainer/testci @@ -1 +1 @@ -123 \ No newline at end of file +123456 \ No newline at end of file diff --git a/IOTContainer/testdir/aaa/aaa.123 b/IOTContainer/testdir/aaa/aaa.123 new file mode 100644 index 0000000..56a6051 --- /dev/null +++ b/IOTContainer/testdir/aaa/aaa.123 @@ -0,0 +1 @@ +1 \ No newline at end of file diff --git a/IOTContainer/testdir/aaa/bbb/123.txt b/IOTContainer/testdir/aaa/bbb/123.txt index d800886..15e4060 100644 --- a/IOTContainer/testdir/aaa/bbb/123.txt +++ b/IOTContainer/testdir/aaa/bbb/123.txt @@ -1 +1 @@ -123 \ No newline at end of file +123s \ No newline at end of file diff --git a/iot_upload.py b/iot_upload.py index cc27c0c..2056785 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('git clone ' + os.getenv('DRONE_GIT_HTTP_URL') + ' /tmp/theLastCode/IOTContainer/' ) os.system('cd /tmp/theLastCode/ && git checkout ' + the_last_windowsAppZIP_GITversion) return the_last_windowsAppZIP_GITversion else: