diff --git a/bin/stats/gdc.sh b/bin/stats/gdc.sh index e39f65703..675397a6e 100755 --- a/bin/stats/gdc.sh +++ b/bin/stats/gdc.sh @@ -48,7 +48,16 @@ else fi date_created=$(git for-each-ref --format="%(creatordate:iso)" refs/tags/$TAG) -today=$(date +'%F %T') +if [[ "$date_created" == "" ]]; then + git pull + date_created=$(git for-each-ref --format="%(creatordate:iso)" refs/tags/$TAG) +fi + +if [[ "$date_created" == "" ]]; then + echo "No tag ${TAG} found!" + exit 1 +fi + echo "START DATE: $date_created" echo " END DATE: $next_tag_date" diff --git a/src/lib/mrvApp/mrvApp.cpp b/src/lib/mrvApp/mrvApp.cpp index 834496d1c..9aebfa699 100644 --- a/src/lib/mrvApp/mrvApp.cpp +++ b/src/lib/mrvApp/mrvApp.cpp @@ -879,6 +879,7 @@ namespace mrv // plug-ins. py::module::import("mrv2"); + // Discover Python plugins mrv2_discover_python_plugins();