From bcad1bc52063768efd27fd2d4bf11a6d9859f5d1 Mon Sep 17 00:00:00 2001 From: Stoeffel Date: Tue, 5 Jun 2018 11:00:16 -0700 Subject: [PATCH] fix artifacts --- appveyor.yml | 5 ++--- index.js | 8 ++++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 4aa3931..d816b39 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -27,11 +27,10 @@ test_script: - echo "" | stack --no-terminal test - stack build --ghc-options -O2 - FOR /F "tokens=1 delims=" %%A in ('stack path --local-install-root') do SET STACK_BIN=%%A -- echo elmi-to-json-%APPVEYOR_REPO_TAG_NAME%-%plat%-%arch%.tar.gz -- tar zcvf elmi-to-json-%APPVEYOR_REPO_TAG_NAME%-%plat%-%arch%.tar.gz -C %STACK_BIN%/bin elmi-to-json.exe +- 7z a elmi-to-json-%APPVEYOR_REPO_TAG_NAME%-%plat%-%arch%.zip %STACK_BIN%/bin/elmi-to-json.exe artifacts: - - path: elmi-to-json-$(APPVEYOR_REPO_TAG_NAME)-$(plat)-$(arch).tar.gz + - path: elmi-to-json-$(APPVEYOR_REPO_TAG_NAME)-$(plat)-$(arch).zip name: Releases deploy: diff --git a/index.js b/index.js index 61756ce..9221309 100644 --- a/index.js +++ b/index.js @@ -13,9 +13,9 @@ var root = module.exports = binwrap({ binaries: ["elmi-to-json"], urls: { - "darwin-x64": root + "-mac-x64.tgz", - "linux-x64": root + "-linux-x64.tgz", - "win32-x64": root + "-win-i386.zip", - "win32-ia32": root + "-win-i386.zip" + "darwin-x64": root + "-osx-tar.gz", + "linux-x64": root + "-linux.tar.gz", + "win32-x64": root + "-win32-x86.zip", + "win32-ia32": root + "-win32-i32.zip" } });