From 92c19bb9368b3ef0a7f462d6ac29d674d964315a Mon Sep 17 00:00:00 2001 From: Martchus Date: Sat, 24 Aug 2019 17:28:48 +0200 Subject: [PATCH] Skip release if CMakeLists.txt not present at all instead of stopping the whole script --- devel/own-projects/release-on-github.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devel/own-projects/release-on-github.sh b/devel/own-projects/release-on-github.sh index f55adc74..f513aecf 100755 --- a/devel/own-projects/release-on-github.sh +++ b/devel/own-projects/release-on-github.sh @@ -21,7 +21,7 @@ do echo "NEXT: $project -> $version" # 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 ([^\)]*)\)' minor_version_regex='set\(META_VERSION_MINOR ([^\)]*)\)' patch_version_regex='set\(META_VERSION_PATCH ([^\)]*)\)'