experiment with restricting writing to these

This commit is contained in:
Jeff Carr 2025-09-12 10:45:09 -05:00
parent be1cd7372c
commit 07b0fcf3b6
1 changed files with 2 additions and 2 deletions

View File

@ -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")