aboutsummaryrefslogtreecommitdiffhomepage
path: root/appveyor.yml
diff options
context:
space:
mode:
authorCalvin Rose <calsrose@gmail.com>2019-08-18 19:16:15 -0400
committerCalvin Rose <calsrose@gmail.com>2019-08-18 19:16:15 -0400
commit2695f2da46f585e8a65811b0eb22c9c3a1715257 (patch)
tree65e2bb33cd384ee52b14f18718f8e35ba000b8bc /appveyor.yml
parentAdd some more artifacts to automate release. (diff)
Update installer with appveyor commands.
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml10
1 files changed, 6 insertions, 4 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 0cd08d3d..2da5aa20 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -26,7 +26,9 @@ install:
- refreshenv
# We need to reload vcvars after refreshing
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat"
- - build_win test-install
+ - build_win test-install\
+ - set janet_outname="%appveyor_repo_tag_name%"
+ - if "%janet_outname%"=="" (set janet_outname=v1.2.0)
build: off
only_commits:
@@ -44,11 +46,11 @@ artifacts:
- name: janetconf.h
path: dist\janetconf.h
type: File
- - name: "janet-$(appveyor_repo_tag_name)-windows"
+ - name: "janet-$(janet_outname)-windows"
path: dist
type: Zip
- - path: "janet-$(appveyor_repo_tag_name)-windows-installer.exe"
- name: "janet-$(appveyor_repo_tag_name)-windows-installer.exe"
+ - path: "janet-$(janet_outname)-windows-installer.exe"
+ name: "janet-$(janet_outname)-windows-installer.exe"
type: File
deploy: