Changed options for building Vocaluxe/Vocaluxe
This commit is contained in:
1 parent
971c57c237
commit
873619ccf8
3 files changed
+10
-10
No files matched your search
@@ -1,6 +1,6 @@
|
|||||||
if($Env:APPVEYOR_REPO_TAG -ne "true") {
|
if($Env:APPVEYOR_REPO_TAG -ne "true") {
|
||||||
Write-Host "Push without tag detected"
|
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"
|
Write-Host "Nightly build branch was detected"
|
||||||
$targetTag = "Nightly"
|
$targetTag = "Nightly"
|
||||||
$Env:NIGHTLY_BUILD = true
|
$Env:NIGHTLY_BUILD = true
|
||||||
@@ -10,10 +10,10 @@ if($Env:APPVEYOR_REPO_TAG -ne "true") {
|
|||||||
Return
|
Return
|
||||||
}
|
}
|
||||||
Write-Host "Moving tag $targetTag to $Env:APPVEYOR_REPO_BRANCH"
|
Write-Host "Moving tag $targetTag to $Env:APPVEYOR_REPO_BRANCH"
|
||||||
git config --global user.email "build@vocaluxe.de";
|
git config --global user.email "noreply@vocaluxe.org";
|
||||||
git config --global user.name "Vocaluxe_Automatic_Build";
|
git config --global user.name "VocaluxeBuildBot";
|
||||||
git tag "$targetTag" -f;
|
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"
|
Write-Host "Tag $targetTag points now to the head of branch $Env:APPVEYOR_REPO_BRANCH"
|
||||||
}
|
}
|
||||||
@@ -8,7 +8,7 @@ else{
|
|||||||
}
|
}
|
||||||
|
|
||||||
$getRelaseInfoParams = @{
|
$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';
|
Method = 'GET';
|
||||||
}
|
}
|
||||||
try{
|
try{
|
||||||
@@ -32,7 +32,7 @@ if(!$assetId){
|
|||||||
}
|
}
|
||||||
|
|
||||||
$deleteAssetParams = @{
|
$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';
|
Method = 'DELETE';
|
||||||
Headers = @{
|
Headers = @{
|
||||||
Authorization = 'Basic ' + [Convert]::ToBase64String(
|
Authorization = 'Basic ' + [Convert]::ToBase64String(
|
||||||
|
|||||||
+4
-4
@@ -6,10 +6,10 @@ configuration: ReleaseWin
|
|||||||
platform:
|
platform:
|
||||||
- x64
|
- x64
|
||||||
- x86
|
- x86
|
||||||
clone_depth: 10
|
clone_depth: 15
|
||||||
environment:
|
environment:
|
||||||
GitHubKey:
|
GitHubKey:
|
||||||
secure: QBwVoI9PlI+PWfX8vtjH22cSPhj2nwJ78CQcwC4Olsibn1QNar2KX4HEfOGNbazA
|
secure: JSlN/em0JdspVn8jwaQ4IjugY6OQi0au4Qq0rhctJmcfGMaEGnUAOmDFULI48REW
|
||||||
install:
|
install:
|
||||||
- ps: >-
|
- ps: >-
|
||||||
$Env:CurrentCommitSha = "$(git rev-parse --verify HEAD)"
|
$Env:CurrentCommitSha = "$(git rev-parse --verify HEAD)"
|
||||||
@@ -61,7 +61,7 @@ deploy:
|
|||||||
release: $(APPVEYOR_REPO_TAG_NAME)
|
release: $(APPVEYOR_REPO_TAG_NAME)
|
||||||
description:
|
description:
|
||||||
auth_token:
|
auth_token:
|
||||||
secure: QBwVoI9PlI+PWfX8vtjH22cSPhj2nwJ78CQcwC4Olsibn1QNar2KX4HEfOGNbazA
|
secure: JSlN/em0JdspVn8jwaQ4IjugY6OQi0au4Qq0rhctJmcfGMaEGnUAOmDFULI48REW
|
||||||
artifact: ReleaseZip
|
artifact: ReleaseZip
|
||||||
prerelease: true
|
prerelease: true
|
||||||
on:
|
on:
|
||||||
@@ -72,7 +72,7 @@ deploy:
|
|||||||
release: Latest Nightly build
|
release: Latest Nightly build
|
||||||
description:
|
description:
|
||||||
auth_token:
|
auth_token:
|
||||||
secure: QBwVoI9PlI+PWfX8vtjH22cSPhj2nwJ78CQcwC4Olsibn1QNar2KX4HEfOGNbazA
|
secure: JSlN/em0JdspVn8jwaQ4IjugY6OQi0au4Qq0rhctJmcfGMaEGnUAOmDFULI48REW
|
||||||
artifact: ReleaseZip
|
artifact: ReleaseZip
|
||||||
on:
|
on:
|
||||||
APPVEYOR_REPO_TAG: true
|
APPVEYOR_REPO_TAG: true
|
||||||
|
|||||||
Reference in new issue
Block a user