Test powershell better compilation script.
This commit is contained in:
parent
5b6edd40e2
commit
eb3ecfbbc1
1 changed files with 15 additions and 14 deletions
|
@ -45,18 +45,19 @@ build_script:
|
||||||
- nmake windows_all
|
- nmake windows_all
|
||||||
|
|
||||||
on_success:
|
on_success:
|
||||||
- dir
|
- ps: ls
|
||||||
- git clone -q --depth=1 https://github.com/martinrotter/rssguard.wiki.git C:\rssguard-wiki
|
- ps: git clone -q --depth=1 https://github.com/martinrotter/rssguard.wiki.git C:\rssguard-wiki
|
||||||
- git config --global credential.helper store
|
- ps: git config --global credential.helper store
|
||||||
- ps: Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:access_token):x-oauth-basic@github.com`n"
|
- ps: Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:access_token):x-oauth-basic@github.com`n"
|
||||||
- git config --global user.email "rotter.martinos@gmail.com"
|
- ps: git config --global user.email "rotter.martinos@gmail.com"
|
||||||
- git config --global user.name "martinrotter"
|
- ps: git config --global user.name "martinrotter"
|
||||||
- for /f "tokens=*" %%F in ('dir /b *.7z') do curl --upload-file %%F https://transfer.sh/%%F --silent >> C:\rssguard-wiki\Windows-development-builds.md
|
- ps: $file = (Get-ChildItem '*.7z').Name
|
||||||
- echo.>> C:\rssguard-wiki\Windows-development-builds.md
|
- ps: echo "File to upload: $file"
|
||||||
- for /f "tokens=*" %%F in ('dir /b *.exe') do curl --upload-file %%F https://transfer.sh/%%F --silent >> C:\rssguard-wiki\Windows-development-builds.md
|
- ps: $url = curl.exe --upload-file "$file" "https://transfer.sh/$file" --silent
|
||||||
- echo.>> C:\rssguard-wiki\Windows-development-builds.md
|
- ps: echo "Obtained URL: $url"
|
||||||
- cd C:\rssguard-wiki
|
- ps: echo " from powershell $url " >> C:\rssguard-wiki\Windows-development-builds.md
|
||||||
- git add *.*
|
- ps: cd C:\rssguard-wiki
|
||||||
- git commit -m "New files."
|
- ps: git add *.*
|
||||||
- git pull origin master
|
- ps: git commit -m "New files."
|
||||||
- git push origin master -v
|
- ps: git pull origin master
|
||||||
|
- ps: git push origin master -v
|
||||||
|
|
Loading…
Add table
Reference in a new issue