Skip to content

Commit aabecfc

Browse files
committed
Defined a new GIT_HASH environment variable which is a short hash generated from APPVEYOR_REPO_COMMIT
1 parent 3242e3d commit aabecfc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

appveyor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ image: Visual Studio 2015
3232
# scripts that are called at very beginning, before repo cloning
3333
init:
3434
- git config --global core.autocrlf true
35+
- ps: $env:GIT_HASH=$env:APPVEYOR_REPO_COMMIT.Substring(0, 10)
3536

3637
# fetch repository as zip archive
3738
shallow_clone: true # default is "false"

0 commit comments

Comments
 (0)