droneCI: tar.gz -> zip
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
Han Dai 2020-03-01 13:47:29 -05:00
parent 074859fb51
commit d9f4065304

View File

@ -3,12 +3,13 @@ type: docker
name: default
steps:
- name: uglifyjs
image: node
- name: compress_and_zip
image: node:alpine
commands:
- npm install uglify-js -g
- for i in *.js; do uglifyjs -c -m -o $i $i; done
- tar -cvzf Boiler-AutoLogin.tar.gz manifest.json *.html *.js
- apk add zip
- zip Boiler-AutoLogin.zip manifest.json *.html *.js
when:
event: tag