Skip to content

Commit c877ac5

Browse files
committed
[ci skip] Add download link check to build-release.sh
1 parent e02ebab commit c877ac5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build-release.sh

+4
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ elif [ `grep -c -F --regexp="'$version_number'" user_guide_src/source/conf.py` -
3535
then
3636
echo "Provided version number doesn't match in user_guide_src/source/conf.py"
3737
exit 1
38+
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 ]
39+
then
40+
echo "user_guide_src/source/installation/downloads.rst doesn't appear to contain a link for this version"
41+
exit 1
3842
elif [ ! -f "$upgrade_rst" ]
3943
then
4044
echo "${upgrade_rst} doesn't exist"

0 commit comments

Comments
 (0)