Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

executable file 17 lines (16 sloc) 0.436 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#!/usr/bin/env bash

npm test
docco ./lib/queue-flow.js
git stash
mv docs docs-new
git checkout gh-pages
rm -rf docs
mv docs-new docs
git commit -am "Automatic documentation for version $npm_package_version"
git checkout master
git stash pop
browserify ./lib/browserify.js | uglifyjs > ./lib/queue-flow.min.js
git commit -am "Automatic minification for version $npm_package_version"
git tag $npm_package_version
git push
git push --tags
Something went wrong with that request. Please try again.