Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .travis/push_docs_to_gh_pages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,10 @@ if [[ "${TRAVIS_JOB_NUMBER}" =~ \.1$ ]]; then
fi
#If build running on a TAG - it's a new release - need to add it to documentation
if [ -n "${TRAVIS_TAG}" ]; then
latest_release=" - [${TRAVIS_TAG} documentation](${UTPLSQL_VERSION}/) - Created $now"
sed -i '7s@.*@'"Latest release ${latest_release}"'@' index.md
latest_release=" [${TRAVIS_TAG} documentation](${UTPLSQL_VERSION}/) - Created $now"
sed -i '7s@.*@'" - Latest release: ${latest_release}"'@' index.md
#add entry to the end of file - ## Released Version Doc History
echo "- ${latest_release}">>index.md
fi
#replace 4th line in log
sed -i '8s@.*@'"${latest}"'@' index.md
Expand Down