瀏覽代碼

fix checking for todays coverity

Conflicts:
	tools/.coverity.sh
	tools/.deployDoxygen.sh
Julius Pfrommer 10 年之前
父節點
當前提交
7af6a8fa85
共有 2 個文件被更改,包括 6 次插入2 次删除
  1. 3 1
      tools/.coverity.sh
  2. 3 1
      tools/.deployDoxygen.sh

+ 3 - 1
tools/.coverity.sh

@@ -5,7 +5,9 @@
 # of the day to the coverity scan service
 #
 
-COMMITS=`git log coverity_scan --since=today.midnight --oneline | wc -l`
+git checkout coverity_scan
+COMMITS=`git log --since=today.midnight --oneline | wc -l`
+git checkout master
 
 if [[ "$COMMITS" -le "1" ]]; then
     #first commit a day - push changes to branch coverity_scan

+ 3 - 1
tools/.deployDoxygen.sh

@@ -5,7 +5,9 @@
 # Doxygen docs to open62541-www
 #
 
-COMMITS=`git log coverity_scan --since=today.midnight --oneline | wc -l`
+git checkout coverity_scan
+COMMITS=`git log --since=today.midnight --oneline | wc -l`
+git checkout master
 
 if [[ "$COMMITS" -le "1" ]]; then
    git clone --depth=50 -b gh-pages https://$GITAUTH@github.com/acplt/open62541-www