Skip to content

Commit

Permalink
Adjust drone file
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Mai authored and Alena Prokharchyk committed Sep 14, 2019
1 parent 694bc94 commit 3c1cf42
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,18 @@ steps:
- name: docker_pipe
path: \\\\.\\pipe\\docker_engine

- name: stage-binaries
image: maiwj/dapper:windows-1809
commands:
- "Get-ChildItem -Path ./bin; Copy-Item -Force -Path ./bin/wins.exe -Destination ./package/; Get-ChildItem -Path ./package/"

- name: github_binary_release
image: plugins/github-release
settings:
api_key:
from_secret: github_token
files:
- "bin/wins.exe"
- "package/*"
when:
instance:
- drone-publish.rancher.io
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ cmake-build-debug/
cmake-build-release/

# Binaries for programs and plugins
bin/
bin/*
package/*
!.gitkeep
*.exe
*.exe~
*.dll
Expand Down
Empty file added package/.gitkeep
Empty file.

0 comments on commit 3c1cf42

Please sign in to comment.