Skip release if CMakeLists.txt not present at all
instead of stopping the whole script
This commit is contained in:
parent
d8be7d61c1
commit
92c19bb936
|
@ -21,7 +21,7 @@ do
|
||||||
echo "NEXT: $project -> $version"
|
echo "NEXT: $project -> $version"
|
||||||
|
|
||||||
# check whether CMakeLists.txt has been updated
|
# check whether CMakeLists.txt has been updated
|
||||||
cmake_lists=$(wget -qO- "https://raw.githubusercontent.com/$gh_user/$gh_name/master/CMakeLists.txt")
|
cmake_lists=$(wget -qO- "https://raw.githubusercontent.com/$gh_user/$gh_name/master/CMakeLists.txt" || echo -n '')
|
||||||
major_version_regex='set\(META_VERSION_MAJOR ([^\)]*)\)'
|
major_version_regex='set\(META_VERSION_MAJOR ([^\)]*)\)'
|
||||||
minor_version_regex='set\(META_VERSION_MINOR ([^\)]*)\)'
|
minor_version_regex='set\(META_VERSION_MINOR ([^\)]*)\)'
|
||||||
patch_version_regex='set\(META_VERSION_PATCH ([^\)]*)\)'
|
patch_version_regex='set\(META_VERSION_PATCH ([^\)]*)\)'
|
||||||
|
|
Loading…
Reference in New Issue