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 ac9f4b62 apply force to individual pages
ac9f4b62 is described below
commit ac9f4b62ed51d1acb0a581b4a0c32a7b97dff336
Author: Sebb <[email protected]>
AuthorDate: Tue Feb 28 11:19:05 2023 +0000
apply force to individual pages
---
tools/collate_minutes.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/collate_minutes.rb b/tools/collate_minutes.rb
index c506b9c5..254696a0 100755
--- a/tools/collate_minutes.rb
+++ b/tools/collate_minutes.rb
@@ -877,7 +877,7 @@ agenda.sort.each do |title, reports|
end
dest = File.join(SITE_MINUTES, link[title])
- unless File.exist?(dest) and remove_date(File.read(dest)) ==
remove_date(page)
+ if force or !File.exist?(dest) or (remove_date(File.read(dest)) !=
remove_date(page))
Wunderbar.info "Writing #{link[title]}"
open(dest, 'w') {|file| file.write page}
# else