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