mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 01:01:33 +00:00
appveyor: let use short commits
This commit is contained in:
parent
0f83c2aeb5
commit
deca16f923
1 changed files with 4 additions and 2 deletions
|
@ -43,8 +43,10 @@ build_script:
|
|||
- cmd: mingw32-make.exe -C src MINGW=1 WARNINGMODE=1 NOASM=1 NOUPX=1 GCC52=1 SDL=1 ERRORMODE=1
|
||||
|
||||
after_build:
|
||||
- set BUILD_ARCHIVE=%APPVEYOR_REPO_BRANCH%-%APPVEYOR_REPO_COMMIT%.7z
|
||||
- cmd: 7z a %BUILD_ARCHIVE% bin\Mingw\Release -x!.gitignore
|
||||
- cmd: git rev-parse --short %APPVEYOR_REPO_COMMIT%>%TMP%/gitshort.txt
|
||||
- cmd: set /P GITSHORT=<%TMP%/gitshort.txt
|
||||
- set BUILD_ARCHIVE=%APPVEYOR_REPO_BRANCH%-%GITSHORT%.7z
|
||||
- cmd: 7z a %BUILD_ARCHIVE% bin\Mingw\Release -xr!.gitignore
|
||||
- appveyor PushArtifact %BUILD_ARCHIVE%
|
||||
|
||||
test: off
|
||||
|
|
Loading…
Reference in a new issue