UNPKG

395 BPlain TextView Raw
1#!/usr/bin/env zsh
2local back=$PWD
3local script_base=$0:a:h
4changes=$(${script_base}/last_change | tail -n +4)
5version=$(${script_base}/last_changelog_version)
6DEV_ROOT=$HOME/Development
7cd $DEV_ROOT
8for repo ( $DEV_ROOT/cloudinary_js $DEV_ROOT/pkg/*) {
9 cd $repo
10 git commit -a -m "Version $version"
11 git tag $version -a -m "$changes"
12 git push && git push --tags
13 npm publish
14 cd $back
15}
\No newline at end of file