File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ pull_requests:
10
10
# VERSION_SUFFIX: -preview
11
11
12
12
init :
13
- - ps : iex ((new-object net.webclient).DownloadString('https://gist.githubusercontent.com/PureKrome/0f79e25693d574807939/raw/8cf3160c9516ef1f4effc825c0a44acc918a0b5a/appveyor-build-info.ps'))
13
+ - ps : .\tools\DisplayEnvironmentInfo.ps1
14
14
- git config --global core.autocrlf true
15
15
- ps : $env:GIT_HASH=$env:APPVEYOR_REPO_COMMIT.Substring(0, 10)
16
16
- ps : If ("$env:APPVEYOR_REPO_TAG" -ne "true") { $env:VERSION_SUFFIX="-pre" }
Original file line number Diff line number Diff line change
1
+ $isPr = " No" ;
2
+ if ($env: APPVEYOR_PULL_REQUEST_NUMBER )
3
+ {
4
+ $isPr = " Yes = PR #: " + $env: APPVEYOR_PULL_REQUEST_NUMBER
5
+ }
6
+
7
+ Write-Host " *** AppVeyor configuration information ***" - ForegroundColor Yellow
8
+ " Account Name: " + $env: APPVEYOR_ACCOUNT_NAME
9
+ Write-Host " Version: $env: APPVEYOR_BUILD_VERSION " - ForegroundColor Red
10
+ " Git Repo"
11
+ " - Name: " + $env: APPVEYOR_REPO_NAME
12
+ " - Branch: " + $env: APPVEYOR_REPO_BRANCH
13
+ Write-Host " - Info: $env: APPVEYOR_REPO_COMMIT / $env: APPVEYOR_REPO_COMMIT_AUTHOR / $env: APPVEYOR_REPO_COMMIT_TIMESTAMP " - ForegroundColor Gray
14
+ Write-Host " '$env: APPVEYOR_REPO_COMMIT_MESSAGE '" - ForegroundColor Gray
15
+ " - Is a PR: " + $isPr
16
+ " Platform: " + $env: PLATFORM
17
+ " Configuration: " + $env: CONFIGURATION
18
+ " --------------------------------------------------------------------------"
19
+ " "
You can’t perform that action at this time.
0 commit comments