diff options
| author | Jeremy Rimpo <jeremy.rimpo@servermonkey.com> | 2020-09-20 20:00:43 -0500 |
|---|---|---|
| committer | Jeremy Rimpo <jeremy.rimpo@servermonkey.com> | 2020-09-20 20:00:43 -0500 |
| commit | 9d27fb3c21533ae74026031aa3828cfcaf72251c (patch) | |
| tree | 853bc5f2d6c95db61996900539d72e7752d46482 | |
| parent | dbe27903f406d269e94631d142d5f1b636289e79 (diff) | |
Convert scripts to PowerShell
| -rw-r--r-- | appveyor.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/appveyor.yml b/appveyor.yml index a8dd5f93..487e3119 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -20,7 +20,7 @@ environment: VER_STUB_NORMAL: dev-appveyor- VER_STUB_NIGHTLY: dev-nightly- build_script: -- cmd: >- +- ps: >- REM Maintenance comments: REM APPVEYOR_BUILD_FOLDER= "c:\projects\modorganizer-slug" @@ -39,16 +39,16 @@ build_script: git clone --depth=1 https://github.com/ModOrganizer2/modorganizer-umbrella.git c:\projects\modorganizer-umbrella 2> $null - mkdir %APPVEYOR_BUILD_FOLDER%\modorganizer-build -type directory + mkdir ${env:APPVEYOR_BUILD_FOLDER}\modorganizer-build -type directory cd c:\projects\modorganizer-umbrella - git checkout $(git show-ref --verify --quiet refs/remotes/origin/%APPVEYOR_REPO_BRANCH% || echo '-b') %APPVEYOR_REPO_BRANCH% + 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=%APPVEYOR_REPO_BRANCH% -s override_build_version=%APPVEYOR_BUILD_VERSION% + 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: - path: '\modorganizer-build\install\bin' |
