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