add exclude file to zip
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Jay 2019-12-19 11:37:23 +08:00
parent 295b765b46
commit 4144a6aeb3

View File

@ -7,7 +7,7 @@ steps:
image: alpine image: alpine
commands: commands:
- apk add --no-cache zip - apk add --no-cache zip
- zip -r release.zip . -x '*.git*' -x 'node_modules*' - zip -r release.zip . -x '*.git*' -x 'node_modules*' -x '*.drone.yml*'
- name: gitea_release - name: gitea_release
image: plugins/gitea-release image: plugins/gitea-release
settings: settings: