Browse Source

fix: ci

test v1.0.1-beta.31
Your Name 1 year ago
parent
commit
bc27ec040b
  1. 2
      iot_upload.py

2
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 ' + + ' ' + the_last_windowsAppZIP_GITversion)
os.system('git checkout -b ' + os.getenv('DRONE_BRANCH') + ' ' + the_last_windowsAppZIP_GITversion)
os.system('ls && pwd && git describe --abbrev=0 --tags' )
return the_last_windowsAppZIP_GITversion
else:

Loading…
Cancel
Save