test
This commit is contained in:
parent
e6c19a2ec2
commit
bee88de2ef
@ -32,7 +32,12 @@ jobs:
|
||||
curl -O -R $downloadUrl
|
||||
|
||||
# Get the file creation date and save it into a variable
|
||||
fileCreatedDate=$(powershell -command "(Get-Item '$downloadFileName').CreationTime.ToString('dd.MM.yyyyTHH:mm:ss')")
|
||||
for %%F in ("$downloadFileName") do (
|
||||
for /f "tokens=1-3 delims=/: " %%a in ("%%~tF") do (
|
||||
fileCreatedDate=%%c-%%a-%%bT%%~tF
|
||||
)
|
||||
)
|
||||
|
||||
echo "File created date: $fileCreatedDate"
|
||||
|
||||
if [ "$downloadFileName" != "$uploadFileName" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user