Skip to content

Commit

Permalink
Drop Travis from release.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-jansen committed May 26, 2015
1 parent e63fc06 commit 8e4d712
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 5 deletions.
5 changes: 0 additions & 5 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
APP_TAG="v`node -p 'require("./package.json").version'`"
GIT_COMMIT=`git rev-parse HEAD`

# see http://docs.travis-ci.com/user/originment/custom/
echo $0: configuring git
git config --global user.email "builds@travis-ci.com"
git config --global user.name "Travis CI"

echo $0: git reseting
git reset --hard HEAD

Expand Down
26 changes: 26 additions & 0 deletions release.sh.orig
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#!/usr/bin/env bash

APP_TAG="v`node -p 'require("./package.json").version'`"
GIT_COMMIT=`git rev-parse HEAD`

# see http://docs.travis-ci.com/user/originment/custom/
echo $0: configuring git
git config --global user.email "builds@travis-ci.com"
git config --global user.name "Travis CI"

echo $0: git reseting
git reset --hard HEAD

echo $0: tagging commit ${GIT_COMMIT} as ${APP_TAG}
git tag "${APP_TAG}" "${GIT_COMMIT}"

echo $0: version bumping
<<<<<<< HEAD
npm version patch -m 'Version bump to %s'
=======
npm version patch
>>>>>>> 8735da7... Release v0.9.0

echo $0: pushing tags and master
git push -q origin master --tags

0 comments on commit 8e4d712

Please sign in to comment.