diff --git a/.goreleaser.yml b/.goreleaser.yml index 0b429c1646..6646e53362 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -50,6 +50,9 @@ archives: windows: windows 386: i386 amd64: x86_64 + format_overrides: + - goos: windows + format: zip release: draft: true prerelease: auto diff --git a/api/handler/v1/runtime.go b/api/handler/v1/runtime.go index bb351673b2..183cf16311 100644 --- a/api/handler/v1/runtime.go +++ b/api/handler/v1/runtime.go @@ -146,7 +146,7 @@ func (sv *RuntimeServiceServer) ListJobSpecification(ctx context.Context, req *p jobSpecs, err := sv.jobSvc.GetAll(namespaceSpec) if err != nil { - return nil, status.Error(codes.Internal, fmt.Sprintf("%s: failed to retrive jobs for project %s", err.Error(), req.GetProjectName())) + return nil, status.Error(codes.Internal, fmt.Sprintf("%s: failed to retrieve jobs for project %s", err.Error(), req.GetProjectName())) } jobProtos := []*pb.JobSpecification{} @@ -394,7 +394,7 @@ func (sv *RuntimeServiceServer) ListProjects(ctx context.Context, req *pb.ListPr projectRepo := sv.projectRepoFactory.New() projects, err := projectRepo.GetAll() if err != nil { - return nil, status.Error(codes.NotFound, fmt.Sprintf("%s: failed to retrive saved projects", err.Error())) + return nil, status.Error(codes.NotFound, fmt.Sprintf("%s: failed to retrieve saved projects", err.Error())) } projSpecsProto := []*pb.ProjectSpecification{} @@ -712,7 +712,7 @@ func (sv *RuntimeServiceServer) ListResourceSpecification(ctx context.Context, r resourceSpecs, err := sv.resourceSvc.GetAll(namespaceSpec, req.DatastoreName) if err != nil { - return nil, status.Error(codes.Internal, fmt.Sprintf("%s: failed to retrive jobs for project %s", err.Error(), req.GetProjectName())) + return nil, status.Error(codes.Internal, fmt.Sprintf("%s: failed to retrieve jobs for project %s", err.Error(), req.GetProjectName())) } resourceProtos := []*pb.ResourceSpecification{} diff --git a/job/service.go b/job/service.go index ff7be3c6d0..87bb626352 100644 --- a/job/service.go +++ b/job/service.go @@ -317,7 +317,7 @@ func (srv *Service) getDependencyResolvedSpecs(proj models.ProjectSpec, projectJ // fetch all jobs since dependency resolution happens for all jobs in a project, not just for a namespace jobSpecs, err := projectJobSpecRepo.GetAll() if err != nil { - return nil, errors.Wrapf(err, "failed to retrive jobs") + return nil, errors.Wrapf(err, "failed to retrieve jobs") } srv.notifyProgress(progressObserver, &EventJobSpecFetch{})