UNPKG

466 Bapplication/x-shView Raw
1#!/bin/bash
2
3###
4# Release apeman-task-contrib-nodeunit.
5###
6
7HERE=$(cd "$(dirname $0)" && pwd)
8BASE_DIR=$(cd "${HERE}/.." && pwd)
9
10cd ${BASE_DIR}
11
12echo "Sure to release new version (y/N)? "
13read -p ">> " answer
14
15case ${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 ;;
27esac
\No newline at end of file