diff --git a/.drone.yml b/.drone.yml index 57f77722..e023c6bb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 diff --git a/.gitignore b/.gitignore index 45e2332c..b83bd9af 100644 --- a/.gitignore +++ b/.gitignore @@ -6,7 +6,9 @@ cmake-build-debug/ cmake-build-release/ # Binaries for programs and plugins -bin/ +bin/* +package/* +!.gitkeep *.exe *.exe~ *.dll diff --git a/package/.gitkeep b/package/.gitkeep new file mode 100644 index 00000000..e69de29b