Skip to content

Commit 80028a9

Browse files
committed
build: compress windows releases in zip instead of tar.gz
1 parent 43e2f1d commit 80028a9

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.goreleaser.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ archives:
5050
windows: windows
5151
386: i386
5252
amd64: x86_64
53+
format_overrides:
54+
- goos: windows
55+
format: zip
5356
release:
5457
draft: true
5558
prerelease: auto

api/handler/v1/runtime.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ func (sv *RuntimeServiceServer) ListJobSpecification(ctx context.Context, req *p
146146

147147
jobSpecs, err := sv.jobSvc.GetAll(namespaceSpec)
148148
if err != nil {
149-
return nil, status.Error(codes.Internal, fmt.Sprintf("%s: failed to retrive jobs for project %s", err.Error(), req.GetProjectName()))
149+
return nil, status.Error(codes.Internal, fmt.Sprintf("%s: failed to retrieve jobs for project %s", err.Error(), req.GetProjectName()))
150150
}
151151

152152
jobProtos := []*pb.JobSpecification{}
@@ -394,7 +394,7 @@ func (sv *RuntimeServiceServer) ListProjects(ctx context.Context, req *pb.ListPr
394394
projectRepo := sv.projectRepoFactory.New()
395395
projects, err := projectRepo.GetAll()
396396
if err != nil {
397-
return nil, status.Error(codes.NotFound, fmt.Sprintf("%s: failed to retrive saved projects", err.Error()))
397+
return nil, status.Error(codes.NotFound, fmt.Sprintf("%s: failed to retrieve saved projects", err.Error()))
398398
}
399399

400400
projSpecsProto := []*pb.ProjectSpecification{}
@@ -712,7 +712,7 @@ func (sv *RuntimeServiceServer) ListResourceSpecification(ctx context.Context, r
712712

713713
resourceSpecs, err := sv.resourceSvc.GetAll(namespaceSpec, req.DatastoreName)
714714
if err != nil {
715-
return nil, status.Error(codes.Internal, fmt.Sprintf("%s: failed to retrive jobs for project %s", err.Error(), req.GetProjectName()))
715+
return nil, status.Error(codes.Internal, fmt.Sprintf("%s: failed to retrieve jobs for project %s", err.Error(), req.GetProjectName()))
716716
}
717717

718718
resourceProtos := []*pb.ResourceSpecification{}

job/service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ func (srv *Service) getDependencyResolvedSpecs(proj models.ProjectSpec, projectJ
317317
// fetch all jobs since dependency resolution happens for all jobs in a project, not just for a namespace
318318
jobSpecs, err := projectJobSpecRepo.GetAll()
319319
if err != nil {
320-
return nil, errors.Wrapf(err, "failed to retrive jobs")
320+
return nil, errors.Wrapf(err, "failed to retrieve jobs")
321321
}
322322
srv.notifyProgress(progressObserver, &EventJobSpecFetch{})
323323

0 commit comments

Comments
 (0)