Просмотр исходного кода

making sure coverity and doxygen are updated on first successful build on a day

Stasik0 лет назад: 10
Родитель
Сommit
ee78e94480
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      tools/.coverity.sh
  2. 1 1
      tools/.deployDoxygen.sh

+ 1 - 1
tools/.coverity.sh

@@ -6,7 +6,7 @@
 #
 
 git fetch origin coverity_scan
-COMMITS=`git log --oneline --since=today.midnight | wc -l`
+COMMITS=`git log --walk-reflogs origin/coverity_scan --oneline --since today.midnight | wc -l`
 if [[ "$COMMITS" -le "1" ]]; then
     #first commit a day - push changes to branch coverity_scan
     git clone -b coverity_scan https://$GITAUTH@github.com/acplt/open62541

+ 1 - 1
tools/.deployDoxygen.sh

@@ -6,7 +6,7 @@
 #
 
 git fetch origin coverity_scan
-COMMITS=`git log --oneline --since=today.midnight | wc -l`
+COMMITS=`git log --walk-reflogs origin/coverity_scan --oneline --since today.midnight | wc -l`
 if [[ "$COMMITS" -le "1" ]]; then
    git clone --depth=50 -b gh-pages https://$GITAUTH@github.com/acplt/open62541-www
    cd open62541-www