This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 08de9b9 Switch to updating calendar.md
08de9b9 is described below
commit 08de9b94e9e28928085164b21faf3bdc6b8d5498
Author: Sebb <[email protected]>
AuthorDate: Mon Sep 20 22:56:53 2021 +0100
Switch to updating calendar.md
---
repository.yml | 2 +-
www/board/agenda/views/actions/publish.json.rb | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/repository.yml b/repository.yml
index 7955434..3f77b39 100644
--- a/repository.yml
+++ b/repository.yml
@@ -197,7 +197,7 @@
- badrcptto
- badrcptto_patterns
- site-board: # calendar.mdtext only
+ site-board: # calendar.md(text) only
url: asf/infrastructure/site/trunk/content/foundation/board
depth: skip
diff --git a/www/board/agenda/views/actions/publish.json.rb
b/www/board/agenda/views/actions/publish.json.rb
index 55c29be..545eb85 100755
--- a/www/board/agenda/views/actions/publish.json.rb
+++ b/www/board/agenda/views/actions/publish.json.rb
@@ -89,11 +89,11 @@ end
# ...
# Update the Calendar from SVN
-ASF::SVN.update ASF::SVN.svnpath!('site-board', 'calendar.mdtext' ), @message,
env, _ do |_tmpdir, calendar|
+ASF::SVN.update ASF::SVN.svnpath!('site-board', 'calendar.md' ), @message,
env, _ do |_tmpdir, calendar|
# add year header
unless calendar.include? "# #{year} Board meeting minutes"
calendar[/^()#.*Board meeting minutes #/,1] =
- "# #{year} Board meeting minutes # {##{year}}\n\n"
+ "# #{year} Board meeting minutes {##{year}}\n\n"
end
# add summary