Skip to content

Commit

Permalink
Updating credsMissing logic
Browse files Browse the repository at this point in the history
  • Loading branch information
doggydogworld committed Feb 18, 2025
1 parent 8167345 commit 4d2a239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/mac-distribution/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func (c *NotarizeCmd) Run(cli *CLI) error {

func (g *GlobalFlags) AfterApply() error {
// Dry run if no credentials are provided
credsMissing := g.AppleUsername == "" || g.ApplePassword == "" || g.SigningID == ""
credsMissing := g.AppleUsername == "" || g.ApplePassword == "" || g.SigningID == "" || g.BundleID == "" || g.TeamID == ""

if !g.DryRun && credsMissing {
return trace.BadParameter("notarization credentials required, use --dry-run to skip")
Expand Down

0 comments on commit 4d2a239

Please sign in to comment.