Try using build vars
@@ -6,6 +6,7 @@ clone_folder: c:\gopath\src\github.com\rqlite\rqlite
environment:
GOPATH: c:\gopath
+ CIVERS: rqlited-4.%APPVEYOR_BUILD_VERSION%-ci-%APPVEYOR_BUILD_ID%-win64
install:
- set BUILD_ENV=gnu
@@ -19,8 +20,8 @@ build_script:
- go test -v ./...
after_build:
- - 7z a rqlited-4.{build}-ci-win64.zip %GOPATH%\bin\rq*.exe
+ - 7z a %CIVERS%.zip %GOPATH%\bin\rq*.exe
artifacts:
- - path: rqlited-4.{build}-ci-win64.zip
+ - path: %CIVERS%.zip
name: rqlite 4.{build} for Windows (64bit)
