From 141a0bd6b419d7f96f7f566e1217b0d272c2b968 Mon Sep 17 00:00:00 2001 From: Sam Seay Date: Wed, 18 Jan 2023 18:43:00 +1300 Subject: [PATCH] Fix release post template syntax errors and add prettierignore (#36411) Fix some template issues, add prettierignore to disable prettier on ejs files. --- tools/release-posts/.prettierignore | 1 + tools/release-posts/templates/database.ejs | 1 + tools/release-posts/templates/oauth.ejs | 2 +- tools/release-posts/templates/release.ejs | 1 + tools/release-posts/templates/templates.ejs | 1 + 5 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 tools/release-posts/.prettierignore diff --git a/tools/release-posts/.prettierignore b/tools/release-posts/.prettierignore new file mode 100644 index 00000000000..6e551732dd9 --- /dev/null +++ b/tools/release-posts/.prettierignore @@ -0,0 +1 @@ +*.ejs diff --git a/tools/release-posts/templates/database.ejs b/tools/release-posts/templates/database.ejs index 6f5f9016bf2..de3fea44d6f 100644 --- a/tools/release-posts/templates/database.ejs +++ b/tools/release-posts/templates/database.ejs @@ -49,6 +49,7 @@ + <% } else { %>

There are no database changes in this release.

diff --git a/tools/release-posts/templates/oauth.ejs b/tools/release-posts/templates/oauth.ejs index 5228670644e..248ea63d171 100644 --- a/tools/release-posts/templates/oauth.ejs +++ b/tools/release-posts/templates/oauth.ejs @@ -3,5 +3,5 @@ Authentication Success - Authentication successful, please return the console to complete the process. + Authentication successful, please return to the console to complete the process. diff --git a/tools/release-posts/templates/release.ejs b/tools/release-posts/templates/release.ejs index 8b442aaddb1..00621bf1c3f 100644 --- a/tools/release-posts/templates/release.ejs +++ b/tools/release-posts/templates/release.ejs @@ -5,6 +5,7 @@

We are pleased to announce the release of WooCommerce <%= displayVersion %>. This release should be backwards compatible with the previous version.

+

This release contains:

diff --git a/tools/release-posts/templates/templates.ejs b/tools/release-posts/templates/templates.ejs index ec7d93ecf95..e5d1bd5019b 100644 --- a/tools/release-posts/templates/templates.ejs +++ b/tools/release-posts/templates/templates.ejs @@ -22,6 +22,7 @@ + <% } else { %>

There are no template changes in this release.