Explorar o código

fix checking for todays coverity

Conflicts:
	tools/.coverity.sh
	tools/.deployDoxygen.sh
Julius Pfrommer %!s(int64=10) %!d(string=hai) anos
pai
achega
7af6a8fa85
Modificáronse 2 ficheiros con 6 adicións e 2 borrados
  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