From 59889dba189c3762f0fe3734d18ad88f4ada59a3 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Tue, 4 Mar 2025 20:42:41 +0200 Subject: last changes for v1.0.0 release --- internal/main.go | 4 ++-- internal/version.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/main.go b/internal/main.go index f4b25dd..d97080c 100644 --- a/internal/main.go +++ b/internal/main.go @@ -27,7 +27,7 @@ func Main(composeModeDefault bool) { minQueued := flag.Int("minQueued", 4, "Minimum of queued items until printing a warn message!") maxDaysQueued := flag.Int("maxDaysQueued", 365, "Maximum days worth of queued posts until target++ and pauseDays--") pauseDays := flag.Int("pauseDays", 3, "How many days until next post can be posted?") - runIntervalHours := flag.Int("runInterval", 12, "How many hours to wait for the next run.") + runInterval := flag.Int("runInterval", 12, "How many hours to wait for the next run.") lookback := flag.Int("lookback", 30, "How many days look back in time for posting history") geminiSummaryFor := flag.String("geminiSummaryFor", "", "Generate a summary in Gemini Gemtext format, format is coma separated string of months, e.g. 202410,202411") geminiCapsules := flag.String("geminiCapsules", "foo.zone", "Comma sepaeated list Gemini capsules. Used by geminiEnable to detect Gemtext links") @@ -56,7 +56,7 @@ func Main(composeModeDefault bool) { MinQueued: *minQueued, MaxDaysQueued: *maxDaysQueued, PauseDays: *pauseDays, - RunInterval: time.Duration(*runIntervalHours) * time.Hour, // TODO: Document + RunInterval: time.Duration(*runInterval) * time.Hour, // TODO: Document Lookback: time.Duration(*lookback) * time.Hour * 24, ConfigPath: configPath, Config: conf, diff --git a/internal/version.go b/internal/version.go index f85ab9f..ba7c4cb 100644 --- a/internal/version.go +++ b/internal/version.go @@ -4,7 +4,7 @@ import ( "codeberg.org/snonux/gos/internal/table" ) -const versionStr = "v0.0.4" +const versionStr = "v1.0.0" func printVersion() { table.New(). -- cgit v1.2.3