Release 4.5.0 (#7070)

* Release 4.5.0

* Update CHANGELOG.md

Co-authored-by: Tom Fox <13188249+TomWFox@users.noreply.github.com>

* Improve braking change note

* Create a breaking changes sub-section

* Add release action

Co-authored-by: Tom Fox <13188249+TomWFox@users.noreply.github.com>
This commit is contained in:
Antonio Davi Macedo Coelho de Castro
2020-12-14 19:29:06 -08:00
committed by GitHub
parent 033a0bd443
commit 3c00bcd791
5 changed files with 93 additions and 8 deletions

View File

@@ -1,11 +1,11 @@
#!/bin/sh -e
set -x
if [ "${TRAVIS_REPO_SLUG}" = "" ];
if [ "${GITHUB_ACTIONS}" = "" ];
then
echo "Cannot release docs without TRAVIS_REPO_SLUG set"
echo "Cannot release docs without GITHUB_ACTIONS set"
exit 0;
fi
REPO="https://github.com/${TRAVIS_REPO_SLUG}"
REPO="https://github.com/parse-community/parse-server"
rm -rf docs
git clone -b gh-pages --single-branch $REPO ./docs
@@ -15,9 +15,9 @@ cd ..
DEST="master"
if [ "${TRAVIS_TAG}" != "" ];
if [ "${SOURCE_TAG}" != "" ];
then
DEST="${TRAVIS_TAG}"
DEST="${SOURCE_TAG}"
# change the default page to the latest
echo "<meta http-equiv='refresh' content='0; url=/parse-server/api/${DEST}'>" > "docs/api/index.html"
fi