Browse Source

fix: ci

test v1.0.1-beta.25
Your Name 1 year ago
parent
commit
6187a62b52
  1. 2
      IOTContainer/testci
  2. 1
      IOTContainer/testdir/aaa/aaa.123
  3. 2
      IOTContainer/testdir/aaa/bbb/123.txt
  4. 2
      iot_upload.py

2
IOTContainer/testci

@ -1 +1 @@
123
123456

1
IOTContainer/testdir/aaa/aaa.123

@ -0,0 +1 @@
1

2
IOTContainer/testdir/aaa/bbb/123.txt

@ -1 +1 @@
123
123s

2
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:

Loading…
Cancel
Save