浏览代码

Merge pull request #644 from herby/release-clean-master

checking out clean master before release

Merging myself, it is just a small fix in release script and seemed to be forgot.
Herbert Vojčík 11 年之前
父节点
当前提交
dc543bd289
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      bin/release.sh

+ 2 - 1
bin/release.sh

@@ -1,6 +1,7 @@
 #!/bin/sh
 cd `dirname "$0"`/..
-pwd
+echo git reset --hard
+echo git checkout master
 echo -n "Which version are you going to publish [0 to skip]? "
 VER=`head -n 1`
 if [ "$VER" = "0" ]; then :; else