-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdeploy.sh
More file actions
23 lines (17 loc) · 694 Bytes
/
deploy.sh
File metadata and controls
23 lines (17 loc) · 694 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# bash
echo "############### START: GRUNT #################\n"
grunt -v
echo "############### END: GRUNT #################\n"
git add .
git add -u
echo "############### FILE CHANGES #################\n"
git status
echo "############### START: COMMIT and PUSH #################\n"
git commit -m "setting up deployment"
git push origin master
echo "############### END: COMMIT and PUSH #################\n"
version=`cat ./bower.json | underscore select .version --outfmt text`
echo "############### START BOWER RELEASE: $version #################\n"
git tag -f -a v$version -m "Release version $version"
git push --tags
echo "############### END BOWER RELEASE: $version #################\n"