summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Rimpo <jeremy.rimpo@servermonkey.com>2020-09-20 22:34:38 -0500
committerJeremy Rimpo <jeremy.rimpo@servermonkey.com>2020-09-20 22:34:38 -0500
commitc664f26e5782a7fd40edd029876944497683234c (patch)
tree125c1105bece3447a5a03ab14d674296064e84e6
parent9d27fb3c21533ae74026031aa3828cfcaf72251c (diff)
Finalize appveyor script update
-rw-r--r--appveyor.yml11
1 files changed, 3 insertions, 8 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 487e3119..71afa0f2 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -20,7 +20,7 @@ environment:
VER_STUB_NORMAL: dev-appveyor-
VER_STUB_NIGHTLY: dev-nightly-
build_script:
-- ps: >-
+- pwsh: >-
REM Maintenance comments:
REM APPVEYOR_BUILD_FOLDER= "c:\projects\modorganizer-slug"
@@ -35,19 +35,14 @@ build_script:
REM End comments.
+ git clone --depth=1 https://github.com/ModOrganizer2/modorganizer-umbrella.git c:\projects\modorganizer-umbrella
- git clone --depth=1 https://github.com/ModOrganizer2/modorganizer-umbrella.git c:\projects\modorganizer-umbrella 2> $null
-
-
- mkdir ${env:APPVEYOR_BUILD_FOLDER}\modorganizer-build -type directory
-
+ New-Item -ItemType Directory -Path ${env:APPVEYOR_BUILD_FOLDER}\modorganizer-build
cd c:\projects\modorganizer-umbrella
-
git checkout $(git show-ref --verify --quiet refs/remotes/origin/${env:APPVEYOR_REPO_BRANCH} || echo '-b') ${env:APPVEYOR_REPO_BRANCH}
-
C:\Python38-x64\python.exe unimake.py -d %APPVEYOR_BUILD_FOLDER%\modorganizer-build -s Appveyor_Build=True -s Feature_Branch=${env:APPVEYOR_REPO_BRANCH} -s override_build_version=${env:APPVEYOR_BUILD_VERSION}
test: off
artifacts: