Skip to content

Commit

Permalink
CI: Bundle README and LICENSE in releases
Browse files Browse the repository at this point in the history
  • Loading branch information
equalsraf committed Feb 22, 2016
1 parent 6969613 commit 6d6cbd4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions contrib/appveyor-after-build.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
if "%APPVEYOR_REPO_TAG%" == "true" (
echo "Packaging Release zip"
7z a win32yank.zip LICENSE README.md %APPVEYOR_BUILD_FOLDER%\target\release\win32yank.exe
)
5 changes: 4 additions & 1 deletion contrib/appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,21 @@ platform:
- rust-1.6.0-x86_64-pc-windows-msvc.exe
build_script:
- contrib\appveyor-build.bat
after_build:
- contrib\appveyor-after-build.bat
test_script:
- contrib\appveyor-test.bat
artifacts:
- path: target/debug/win32yank.exe
- path: target/release/win32yank.exe
- path: win32yank.zip
deploy:
- provider: GitHub
description: Automated builds (Appveyor)
release: $(appveyor_repo_tag_name)
auth_token:
secure: Hx2tU6GZPZNB6qGjHcIqa1tEm8fVGXZUVfXyjboVrPcmA9OWMTXhLxayDzMMl3kD
artifact: target/release/win32yank.exe
artifact: win32yank.zip
prerelease: false
on:
appveyor_repo_tag: true

0 comments on commit 6d6cbd4

Please sign in to comment.