ps in script?
This commit is contained in:
parent
e3f9218997
commit
b28c8c57c2
@ -45,19 +45,4 @@ build_script:
|
||||
- nmake windows_all
|
||||
|
||||
on_success:
|
||||
- ps: ls
|
||||
- ps: git clone -q --depth=1 https://github.com/martinrotter/rssguard.wiki.git C:\rssguard-wiki
|
||||
- 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: git config --global user.email "rotter.martinos@gmail.com"
|
||||
- ps: git config --global user.name "martinrotter"
|
||||
- ps: $file = (Get-ChildItem '*.7z').Name
|
||||
- ps: echo "File to upload: $file"
|
||||
- ps: $url = curl.exe --upload-file "$file" "https://transfer.sh/$file" --silent
|
||||
- ps: echo "Obtained URL: $url"
|
||||
- ps: echo " from powershell $url " >> C:\rssguard-wiki\Windows-development-builds.md
|
||||
- ps: cd C:\rssguard-wiki
|
||||
- ps: git add *.*
|
||||
- ps: git commit -m "New files."
|
||||
- ps: git pull origin master
|
||||
- ps: git push origin master -v
|
||||
- ps: .\..\resources\scripts\.appveyor-install-win.ps1
|
16
resources/scripts/.appveyor-install-win.ps1
Executable file
16
resources/scripts/.appveyor-install-win.ps1
Executable file
@ -0,0 +1,16 @@
|
||||
ls
|
||||
git clone -q --depth=1 https://github.com/martinrotter/rssguard.wiki.git C:\rssguard-wiki
|
||||
git config --global credential.helper store
|
||||
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"
|
||||
git config --global user.name "martinrotter"
|
||||
$file = (Get-ChildItem '*.7z').Name
|
||||
echo "File to upload: $file"
|
||||
$url = curl.exe --upload-file "$file" "https://transfer.sh/$file" --silent
|
||||
echo "Obtained URL: $url"
|
||||
echo " from powershell $url " >> C:\rssguard-wiki\Windows-development-builds.md
|
||||
cd C:\rssguard-wiki
|
||||
git add *.*
|
||||
git commit -m "New files."
|
||||
git pull origin master
|
||||
git push origin master -v
|
Loading…
x
Reference in New Issue
Block a user