summaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-12 10:45:09 -0500
committerJeff Carr <[email protected]>2025-09-12 10:45:09 -0500
commit07b0fcf3b683caa2846b19fec3765c23195f10e3 (patch)
tree4fc95fd68107a7fde5c8525d4c574bf2f9e35a66 /config.go
parentbe1cd7372cde6abdc8d7eacde264a88fe6892d31 (diff)
experiment with restricting writing to these
Diffstat (limited to 'config.go')
-rw-r--r--config.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.go b/config.go
index 7118b7c..b2f6210 100644
--- a/config.go
+++ b/config.go
@@ -23,8 +23,8 @@ func (f *Forge) ConfigSave() error {
}
// only let forge save the config files (?)
- if prep.AppName() == "forge" {
- log.Info("Okay, this is forge")
+ if prep.AppName() == "forge" || prep.AppName() == "guireleaser" {
+ log.Info("Okay, this is", prep.AppName())
} else {
log.Info("This is not forge")
return log.Errorf("Only forge can save the config files")