UNPKG

414 Bapplication/x-shView Raw
1#!/bin/bash
2
3HERE=$(cd "$(dirname $0)" && pwd)
4BASE_DIR=$(cd "${HERE}/.." && pwd)
5
6cd ${BASE_DIR}
7
8echo "Sure to release new version (y/N)? "
9read -p ">> " answer
10
11case ${answer:0:1} in
12 y|Y )
13 npm run versionup
14 npm run taggit
15 npm publish .
16 git add . -A
17 git commit -m 'Version up apeman-task-contrib-jsdoc'
18 git push
19 ;;
20 * )
21 echo aborted.
22 ;;
23esac
\No newline at end of file