99 echo " Releasing $VERSION "
1010fi
1111
12- rm -r .release
12+ # rm -r .release
1313rm -r dist
14- mkdir .release
15- mkdir .release/quill
14+ # mkdir .release
15+ # mkdir .release/quill
1616
1717npm run build
1818webpack --config _develop/webpack.config.js --env.minimize
19- cp dist/quill.core.css dist/quill.bubble.css dist/quill.snow.css dist/quill.js dist/quill.core.js dist/quill.min.js dist/quill.min.js.map .release/quill/
19+ # cp dist/quill.core.css dist/quill.bubble.css dist/quill.snow.css dist/quill.js dist/quill.core.js dist/quill.min.js dist/quill.min.js.map .release/quill/
2020
21- cd .release
21+ # cd .release
2222
2323# printf "cdn: .\nversion: ." > jekyll.yml
2424# jekyll build -s ../docs -d _site --config ../docs/_config.yml
@@ -33,18 +33,18 @@ cd .release
3333
3434# tar -czf quill.tar.gz quill
3535
36- aws s3 cp quill/quill.js s3://cdn.quilljs.com/$VERSION / --cache-control max-age=604800 --content-type " application/javascript; charset=utf-8" --profile quill
37- aws s3 cp quill/quill.min.js s3://cdn.quilljs.com/$VERSION / --cache-control max-age=604800 --content-type " application/javascript; charset=utf-8" --profile quill
38- aws s3 cp quill/quill.core.js s3://cdn.quilljs.com/$VERSION / --cache-control max-age=604800 --content-type " application/javascript; charset=utf-8" --profile quill
39- aws s3 cp quill/quill.bubble.css s3://cdn.quilljs.com/$VERSION / --cache-control max-age=604800 --content-type " text/css; charset=utf-8" --profile quill
40- aws s3 cp quill/quill.core.css s3://cdn.quilljs.com/$VERSION / --cache-control max-age=604800 --content-type " text/css; charset=utf-8" --profile quill
41- aws s3 cp quill/quill.snow.css s3://cdn.quilljs.com/$VERSION / --cache-control max-age=604800 --content-type " text/css; charset=utf-8" --profile quill
42- aws s3 cp quill/quill.min.js.map s3://cdn.quilljs.com/$VERSION / --cache-control max-age=604800 --content-type " application/json; charset=utf-8" --profile quill
43- aws s3 sync s3://cdn.quilljs.com/$VERSION / s3://cdn.quilljs.com/latest/ --profile quill
44-
45- cd ..
46- # git tag v$VERSION -m "Version $VERSION"
47- # git push origin v$VERSION
48- # git push origin master
49-
50- npm publish --tag dev
36+ # aws s3 cp quill/quill.js s3://cdn.quilljs.com/$VERSION/ --cache-control max-age=604800 --content-type "application/javascript; charset=utf-8" --profile quill
37+ # aws s3 cp quill/quill.min.js s3://cdn.quilljs.com/$VERSION/ --cache-control max-age=604800 --content-type "application/javascript; charset=utf-8" --profile quill
38+ # aws s3 cp quill/quill.core.js s3://cdn.quilljs.com/$VERSION/ --cache-control max-age=604800 --content-type "application/javascript; charset=utf-8" --profile quill
39+ # aws s3 cp quill/quill.bubble.css s3://cdn.quilljs.com/$VERSION/ --cache-control max-age=604800 --content-type "text/css; charset=utf-8" --profile quill
40+ # aws s3 cp quill/quill.core.css s3://cdn.quilljs.com/$VERSION/ --cache-control max-age=604800 --content-type "text/css; charset=utf-8" --profile quill
41+ # aws s3 cp quill/quill.snow.css s3://cdn.quilljs.com/$VERSION/ --cache-control max-age=604800 --content-type "text/css; charset=utf-8" --profile quill
42+ # aws s3 cp quill/quill.min.js.map s3://cdn.quilljs.com/$VERSION/ --cache-control max-age=604800 --content-type "application/json; charset=utf-8" --profile quill
43+ # aws s3 sync s3://cdn.quilljs.com/$VERSION/ s3://cdn.quilljs.com/latest/ --profile quill
44+
45+ # cd ..
46+ git tag v$VERSION -m " Version $VERSION "
47+ git push origin v$VERSION
48+ git push origin develop
49+
50+ # npm publish --tag dev
0 commit comments