Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use include_cached to speed up build time, adding comment tags. #71330

Merged
merged 1 commit into from
Oct 11, 2021
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
8 changes: 4 additions & 4 deletions scripts/release-notes.py
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ def analyze_standalone_commit(commit):
if not hidedownloads:
print("""Get future release notes emailed to you:

{% include marketo.html %}
{% include_cached marketo.html %}
""")
print()

Expand All @@ -862,13 +862,13 @@ def analyze_standalone_commit(commit):
</div>

<section class="filter-content" data-scope="windows">
{% include windows_warning.md %}
{% include_cached windows_warning.md %}
</section>
""")

print("""### Docker image

{% include copy-clipboard.html %}
{% include_cached copy-clipboard.html %}
~~~shell
$ docker pull cockroachdb/cockroach""" + (":" if options.prod_release else "-unstable:") + current_version + """
~~~
Expand Down Expand Up @@ -933,7 +933,7 @@ def renderlinks(item):
# Print the Doc Updates section.
print("### Doc updates")
print()
print("Docs team: Please add these manually.")
print("{% comment %}Docs team: Please add these manually.{% endcomment %}")
print()

# Print the Contributors section.
Expand Down