浏览代码

Get on master

Bob Mottram 9 年前
父节点
当前提交
48a112d087
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      src/freedombone

+ 2
- 0
src/freedombone 查看文件

@@ -1467,10 +1467,12 @@ function set_repo_commit {
1467 1467
                     make install
1468 1468
                 fi
1469 1469
                 if [[ $repo_dir == *"gogs" ]]; then
1470
+                    git checkout master
1470 1471
                     go get -u ./...
1471 1472
                     if [ ! "$?" = "0" ]; then
1472 1473
                         exit 52792
1473 1474
                     fi
1475
+                    git checkout $repo_commit
1474 1476
                     go build
1475 1477
                     if [ ! "$?" = "0" ]; then
1476 1478
                         exit 36226