summaryrefslogtreecommitdiffstats
path: root/build-release.sh
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2016-10-28 16:56:50 +0200
committerAndrey Andreev <narf@devilix.net>2016-10-28 16:57:19 +0200
commitc877ac5d961831a087242ff780731c7372f84b6f (patch)
treed17ae97a850e9316743556e2f7a511dd962f9e85 /build-release.sh
parente02ebabb19242e1cfc6b37217bc799ff7591e941 (diff)
[ci skip] Add download link check to build-release.sh
Diffstat (limited to 'build-release.sh')
-rwxr-xr-xbuild-release.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/build-release.sh b/build-release.sh
index 490680e79..6b3b31d12 100755
--- a/build-release.sh
+++ b/build-release.sh
@@ -35,6 +35,10 @@ elif [ `grep -c -F --regexp="'$version_number'" user_guide_src/source/conf.py` -
then
echo "Provided version number doesn't match in user_guide_src/source/conf.py"
exit 1
+elif [ `grep -c -F --regexp="$version_number (Current version) <https://codeload.github.com/bcit-ci/CodeIgniter/zip/$version_number>" user_guide_src/source/installation/downloads.rst` -ne 1 ]
+then
+ echo "user_guide_src/source/installation/downloads.rst doesn't appear to contain a link for this version"
+ exit 1
elif [ ! -f "$upgrade_rst" ]
then
echo "${upgrade_rst} doesn't exist"