Skip to content

Commit

Permalink
[ci skip] Add download link check to build-release.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
narfbg committed Oct 28, 2016
1 parent e02ebab commit c877ac5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c877ac5

Please sign in to comment.