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") {
|
||||
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"
|
||||
}
|
||||
@@ -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(
|
||||
|
||||
+4
-4
@@ -6,10 +6,10 @@ configuration: ReleaseWin
|
||||
platform:
|
||||
- x64
|
||||
- x86
|
||||
clone_depth: 10
|
||||
clone_depth: 15
|
||||
environment:
|
||||
GitHubKey:
|
||||
secure: QBwVoI9PlI+PWfX8vtjH22cSPhj2nwJ78CQcwC4Olsibn1QNar2KX4HEfOGNbazA
|
||||
secure: JSlN/em0JdspVn8jwaQ4IjugY6OQi0au4Qq0rhctJmcfGMaEGnUAOmDFULI48REW
|
||||
install:
|
||||
- ps: >-
|
||||
$Env:CurrentCommitSha = "$(git rev-parse --verify HEAD)"
|
||||
@@ -61,7 +61,7 @@ deploy:
|
||||
release: $(APPVEYOR_REPO_TAG_NAME)
|
||||
description:
|
||||
auth_token:
|
||||
secure: QBwVoI9PlI+PWfX8vtjH22cSPhj2nwJ78CQcwC4Olsibn1QNar2KX4HEfOGNbazA
|
||||
secure: JSlN/em0JdspVn8jwaQ4IjugY6OQi0au4Qq0rhctJmcfGMaEGnUAOmDFULI48REW
|
||||
artifact: ReleaseZip
|
||||
prerelease: true
|
||||
on:
|
||||
@@ -72,7 +72,7 @@ deploy:
|
||||
release: Latest Nightly build
|
||||
description:
|
||||
auth_token:
|
||||
secure: QBwVoI9PlI+PWfX8vtjH22cSPhj2nwJ78CQcwC4Olsibn1QNar2KX4HEfOGNbazA
|
||||
secure: JSlN/em0JdspVn8jwaQ4IjugY6OQi0au4Qq0rhctJmcfGMaEGnUAOmDFULI48REW
|
||||
artifact: ReleaseZip
|
||||
on:
|
||||
APPVEYOR_REPO_TAG: true
|
||||
|
||||
Reference in new issue
Block a user