Changed options for building Vocaluxe/Vocaluxe

This commit is contained in:
lukeIam committed 2015-12-06 17:12:25 +01:00
1 parent 971c57c237
commit 873619ccf8
3 files changed
+10 -10

No files matched your search

+4 -4
View File
@@ -1,6 +1,6 @@
if($Env:APPVEYOR_REPO_TAG -ne "true") {
Write-Host "Push without tag detected"
if($Env:APPVEYOR_REPO_BRANCH -eq "appveyorTest"){
if($Env:APPVEYOR_REPO_BRANCH -eq "develop"){
Write-Host "Nightly build branch was detected"
$targetTag = "Nightly"
$Env:NIGHTLY_BUILD = true
@@ -10,10 +10,10 @@ if($Env:APPVEYOR_REPO_TAG -ne "true") {
Return
}
Write-Host "Moving tag $targetTag to $Env:APPVEYOR_REPO_BRANCH"
git config --global user.email "build@vocaluxe.de";
git config --global user.name "Vocaluxe_Automatic_Build";
git config --global user.email "noreply@vocaluxe.org";
git config --global user.name "VocaluxeBuildBot";
git tag "$targetTag" -f;
git push -q -f "https://$($Env:GitHubKey):x-oauth-basic@github.com/lukeIam/Vocaluxe.git" "$targetTag";
git push -q -f "https://$($Env:GitHubKey):x-oauth-basic@github.com/Vocaluxe/Vocaluxe.git" "$targetTag";
Write-Host "Tag $targetTag points now to the head of branch $Env:APPVEYOR_REPO_BRANCH"
}
+2 -2
View File
@@ -8,7 +8,7 @@ else{
}
$getRelaseInfoParams = @{
Uri = "https://api.github.com/repos/lukeIam/Vocaluxe/releases/tags/$targetTag";
Uri = "https://api.github.com/repos/Vocaluxe/Vocaluxe/releases/tags/$targetTag";
Method = 'GET';
}
try{
@@ -32,7 +32,7 @@ if(!$assetId){
}
$deleteAssetParams = @{
Uri = "https://api.github.com/repos/lukeIam/Vocaluxe/releases/assets/$assetId";
Uri = "https://api.github.com/repos/Vocaluxe/Vocaluxe/releases/assets/$assetId";
Method = 'DELETE';
Headers = @{
Authorization = 'Basic ' + [Convert]::ToBase64String(