1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

Tools: Update release-website.sh

This commit is contained in:
Laurent Cozic 2021-12-19 10:23:49 +01:00
parent b14956afbd
commit d1c77bdcfa

View File

@ -11,6 +11,17 @@ SCRIPT_NAME=`basename "$0"`
JOPLIN_ROOT_DIR="$SCRIPT_DIR/../.."
JOPLIN_WEBSITE_ROOT_DIR="$JOPLIN_ROOT_DIR/../joplin-website"
echo "IS_CONTINUOUS_INTEGRATION=$IS_CONTINUOUS_INTEGRATION"
echo "GIT_USER_NAME=$GIT_USER_NAME"
if [[ "$IS_CONTINUOUS_INTEGRATION" == "1" ]]; then
echo "Running on CI - setting up Git username and email"
git config --global user.email "$GIT_USER_EMAIL"
git config --global user.name "$GIT_USER_NAME"
elif
echo "*Not* running on CI - using the global Git username and email"
fi
# ------------------------------------------------------------------------------
# Update the Markdown files inside the Joplin directory. This is for example the
# download links README.md or the desktop app changelog.