droneCI: tar.gz -> zip
continuous-integration/drone/tag Build is passing Details

This commit is contained in:
Han Dai 2020-03-01 13:47:29 -05:00
parent 074859fb51
commit d9f4065304
1 changed files with 4 additions and 3 deletions

View File

@ -3,12 +3,13 @@ type: docker
name: default name: default
steps: steps:
- name: uglifyjs - name: compress_and_zip
image: node image: node:alpine
commands: commands:
- npm install uglify-js -g - npm install uglify-js -g
- for i in *.js; do uglifyjs -c -m -o $i $i; done - 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: when:
event: tag event: tag