Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

Commit

Permalink
release: fix regression in release requirements check (sourcegraph#62237
Browse files Browse the repository at this point in the history
)

* fix regression

* remove debug statement
  • Loading branch information
BolajiOlajide authored Apr 29, 2024
1 parent c079e80 commit 487682a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev/sg/internal/release/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ func (r *releaseRunner) checkRequirements(ctx context.Context, stage string) err
for _, req := range r.m.Requirements {
if shouldSkipReqCheck(req, stage) {
saySuccess("reqs", "🔕 %s (excluded for %s)", req.Name, stage)
return nil
continue
}

if req.Env != "" && req.Cmd != "" {
Expand Down Expand Up @@ -305,7 +305,7 @@ func (r *releaseRunner) checkRequirements(ctx context.Context, stage string) err

func (r *releaseRunner) CreateRelease(ctx context.Context) error {
if err := r.checkRequirements(ctx, stageInternalCreate); err != nil {
return nil
return err
}

var steps []cmdManifest
Expand Down

0 comments on commit 487682a

Please sign in to comment.