1 | #!/usr/bin/env zsh
|
2 | local back=$PWD
|
3 | local script_base=$0:a:h
|
4 | changes=$(${script_base}/last_change | tail -n +4)
|
5 | version=$(${script_base}/last_changelog_version)
|
6 | DEV_ROOT=$HOME/Development
|
7 | cd $DEV_ROOT
|
8 | for 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 |