Skip to content

Commit

Permalink
fix artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
stoeffel committed Jun 5, 2018
1 parent 3e18cdf commit bcad1bc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 4 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
});

0 comments on commit bcad1bc

Please sign in to comment.