Navigation Menu

Skip to content

Commit

Permalink
appveyor: include version to install folder
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 19, 2017
1 parent 440c811 commit 1bbb671
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions appveyor.yml
Expand Up @@ -31,9 +31,16 @@ install:
# - choco install -y imdisk-toolkit
# - mkdir tmp
# - imdisk -a -t file -m tmp -o awe -s 1G -p "/fs:ntfs /q /y"
- ps: $Env:GROONGA_VERSION = Get-Content base_version
- set GROONGA_INSTALL_FOLDER=groonga-%GROONGA_VERSION%
- set FULL_GROONGA_INSTALL_FOLDER=%APPVEYOR_BUILD_FOLDER%\%GROONGA_INSTALL_FOLDER%
- ps: |
$GroongaVersionRaw = git describe --abbrev=7
$Env:GROONGA_VERSION = $GroongaVersionRaw.TrimStart("v")
$Env:GROONGA_INSTALL_FOLDER = "groonga-" + $Env:GROONGA_VERSION
if ($Env:ARCH -eq "x86") {
$Env:GROONGA_INSTALL_FOLDER += "-x86"
} else {
$Env:GROONGA_INSTALL_FOLDER += "-x64"
}
$Env:FULL_GROONGA_INSTALL_FOLDER = $Env:APPVEYOR_BUILD_FOLDER% + "\" + $Env:GROONGA_INSTALL_FOLDER
build_script:
- git submodule update --init
Expand Down

0 comments on commit 1bbb671

Please sign in to comment.