Skip to content

Commit 8e4d712

Browse files
committed
Drop Travis from release.sh
1 parent e63fc06 commit 8e4d712

File tree

2 files changed

+26
-5
lines changed

2 files changed

+26
-5
lines changed

release.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@
33
APP_TAG="v`node -p 'require("./package.json").version'`"
44
GIT_COMMIT=`git rev-parse HEAD`
55

6-
# see http://docs.travis-ci.com/user/originment/custom/
7-
echo $0: configuring git
8-
git config --global user.email "[email protected]"
9-
git config --global user.name "Travis CI"
10-
116
echo $0: git reseting
127
git reset --hard HEAD
138

release.sh.orig

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#!/usr/bin/env bash
2+
3+
APP_TAG="v`node -p 'require("./package.json").version'`"
4+
GIT_COMMIT=`git rev-parse HEAD`
5+
6+
# see http://docs.travis-ci.com/user/originment/custom/
7+
echo $0: configuring git
8+
git config --global user.email "[email protected]"
9+
git config --global user.name "Travis CI"
10+
11+
echo $0: git reseting
12+
git reset --hard HEAD
13+
14+
echo $0: tagging commit ${GIT_COMMIT} as ${APP_TAG}
15+
git tag "${APP_TAG}" "${GIT_COMMIT}"
16+
17+
echo $0: version bumping
18+
<<<<<<< HEAD
19+
npm version patch -m 'Version bump to %s'
20+
=======
21+
npm version patch
22+
>>>>>>> 8735da7... Release v0.9.0
23+
24+
echo $0: pushing tags and master
25+
git push -q origin master --tags
26+

0 commit comments

Comments
 (0)