appveyor.yml: another try in version extraction.
This commit is contained in:
parent
15512a6c10
commit
3dcadf7ed9
1 changed files with 5 additions and 1 deletions
|
@ -28,7 +28,11 @@ after_build:
|
|||
.\.cabal-sandbox\bin\pandoc.exe -s --template data\templates\default.html -S README -o README.html
|
||||
.\.cabal-sandbox\bin\pandoc.exe -s --template data\templates\default.rtf COPYING -t rtf -S -o COPYING.rtf
|
||||
copy COPYRIGHT COPYRIGHT.txt
|
||||
for /f "tokens=2 delims= " %%a in ('.\.cabal-sandbox\bin\pandoc --version') do set "VERSION=%%a"
|
||||
for /f "tokens=2 delims= " %%a in ('.\.cabal-sandbox\bin\pandoc --version') do (
|
||||
set "VERSION=%%a"
|
||||
goto :next
|
||||
)
|
||||
:next
|
||||
if "%VERSION%" == "" (
|
||||
echo Error: could not determine version number.
|
||||
exit /b 1
|
||||
|
|
Loading…
Add table
Reference in a new issue