From 5146f917eb7c45cf9d1fa606210184e861e36188 Mon Sep 17 00:00:00 2001 From: mpl Date: Mon, 27 Feb 2017 20:30:36 +0100 Subject: [PATCH] misc/monthly.go: add blank lines to release notes source Change-Id: Ia3ef2b037ad20b7b75f52609f1a2b1c1010b642f --- misc/monthly.go | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/misc/monthly.go b/misc/monthly.go index 134a1497c..b2c950d67 100644 --- a/misc/monthly.go +++ b/misc/monthly.go @@ -259,6 +259,7 @@ Camlistore version + {{- end}}

@@ -623,7 +625,17 @@ func main() { releaseData, err := listDownloads() if err != nil { - log.Fatal(err) + if *flagSkipGen { + // Most likely we're failing because we can't reach the + // bucket (working offline), annd we're working on this + // program and testing things out, so make this error + // non-critical so we can still generate the release notes + // and stats. + log.Print(err) + releaseData = &ReleaseData{} + } else { + log.Fatal(err) + } } if *flagStatsFrom != "" && !isWIP() {