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 Jul 19, 2016
1 parent 2474c33 commit 1d40123
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
@@ -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
Expand Up @@ -14,18 +14,21 @@ platform:
- rust-1.10.0-i686-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 1d40123

Please sign in to comment.