diff --git a/build.sh b/build.sh index b580276..eee4c4a 100644 --- a/build.sh +++ b/build.sh @@ -2,4 +2,8 @@ basedir=$(dirname $0) cd $basedir -coffee -c -o bin src/*.coffee \ No newline at end of file + +coffee -c -o bin src/*.coffee +git add --all +git commit -am"automatic publish" +git push origin master diff --git a/package.json b/package.json index c82457f..3ba9a47 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coffee-stir", - "version": "0.0.30", + "version": "0.0.31", "bin": "./bin/cli.js", "description": "This is a library to merge, watch and compile coffeescript files.", "keyword": [ @@ -33,6 +33,6 @@ "url": "https://github.com/BeastJavaScript/Coffee-Stir.git" }, "scripts": { - "prepublish": "build-release.sh" + "prepublish": "build.sh" } }