From 9625087575a3384793024018a51b58b5baec4959 Mon Sep 17 00:00:00 2001 From: Sebastian Wiesner Date: Sat, 25 Aug 2018 19:46:33 +0200 Subject: [PATCH] Add missing suffix to exe --- .appveyor.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.appveyor.yml b/.appveyor.yml index 790a3f37..42ac3294 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -20,7 +20,9 @@ install: build_script: - cargo build --release --verbose after_build: - - 7z a .\%APPVEYOR_REPO_TAG_NAME%-windows.zip %APPVEYOR_BUILD_FOLDER%\target\release\mdcat %APPVEYOR_BUILD_FOLDER%\README.md %APPVEYOR_BUILD_FOLDER%\CHANGELOG.md %APPVEYOR_BUILD_FOLDER%\LICENSE + # The leading '.\' is important to avoid a command error with -windows being + # interpreted as flag if APPVEYOR_REPO_TAG_NAME is empty. + - 7z a .\%APPVEYOR_REPO_TAG_NAME%-windows.zip %APPVEYOR_BUILD_FOLDER%\target\release\mdcat.exe %APPVEYOR_BUILD_FOLDER%\README.md %APPVEYOR_BUILD_FOLDER%\CHANGELOG.md %APPVEYOR_BUILD_FOLDER%\LICENSE test_script: - cargo test --verbose - cargo run -- sample/common-mark.md