Kouhei Sutou
null+****@clear*****
Sun Oct 22 23:44:36 JST 2017
Kouhei Sutou 2017-10-22 23:44:36 +0900 (Sun, 22 Oct 2017) New Revision: ec182db1356e8258b2af037a7d39cacfea14b3a1 https://github.com/groonga/groonga/commit/ec182db1356e8258b2af037a7d39cacfea14b3a1 Message: appveyor: use environment variables Modified files: appveyor.yml Modified: appveyor.yml (+5 -4) =================================================================== --- appveyor.yml 2017-10-20 09:11:25 +0900 (a193b14d7) +++ appveyor.yml 2017-10-22 23:44:36 +0900 (85a090651) @@ -31,11 +31,12 @@ install: # - choco install -y imdisk-toolkit # - mkdir tmp # - imdisk -a -t file -m tmp -o awe -s 1G -p "/fs:ntfs /q /y" - - ps: git log -n 1 - - ps: git describe --abbrev=7 HEAD + - ruby -r pp -e 'pp ENV' - ps: | - $GroongaVersionRaw = git describe --abbrev=7 HEAD - $Env:GROONGA_VERSION = $GroongaVersionRaw.TrimStart("v") + $Env:GROONGA_VERSION = (Get-Content base_version) + if ($Env:APPVEYOR_REPO_TAG -eq "false") { + $Env:GROONGA_VERSION += "-" + $Env:APPVERYOR_REPO_COMMIT.Substring(0, 7) + } $Env:GROONGA_INSTALL_FOLDER = "groonga-" + $Env:GROONGA_VERSION if ($Env:ARCH -eq "x86") { $Env:GROONGA_INSTALL_FOLDER += "-x86" -------------- next part -------------- HTML����������������������������... URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20171022/1587fcf6/attachment.htm