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
3 changes: 2 additions & 1 deletion bin/update-gh-pages-documentation-site
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ swift package \
--hosting-base-path swift-docc \
--output-path "$DOCC_UTILITIES_OUTPUT_DIR"

echo -e "\033[34;1m Merging docs \033q[0m"
echo -e "\033[34;1m Merging docs \033[0m"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because this wasn't a valid ANSI Escape Code before, the rest of the output from this script was in blue, as opposed to just this message which is what was intended.


# Remove the output directory so that the merge command can output there
rm -rf "$SWIFT_DOCC_ROOT/gh-pages/docs"
Expand All @@ -90,6 +90,7 @@ CURRENT_COMMIT_HASH=`git rev-parse --short HEAD`

# Commit and push our changes to the gh-pages branch
cd gh-pages
touch docs/.nojekyll # We need this (empty) file so that GitHub Pages will publish our prebuilt documentation.
git add docs

if [ -n "$(git status --porcelain)" ]; then
Expand Down