You've already forked goreleaser
							
							
				mirror of
				https://github.com/goreleaser/goreleaser.git
				synced 2025-10-30 23:58:09 +02:00 
			
		
		
		
	
				
					committed by
					
						 Carlos Alexandro Becker
						Carlos Alexandro Becker
					
				
			
			
				
	
			
			
			
						parent
						
							0f6d8daa05
						
					
				
				
					commit
					2da661bc77
				
			| @@ -91,6 +91,7 @@ func create(ctx *context.Context, binaries []artifact.Artifact) error { | ||||
| 	} | ||||
| 	defer archiveFile.Close() // nolint: errcheck | ||||
| 	var log = log.WithField("archive", archivePath) | ||||
| 	log.Info("creating") | ||||
| 	var a = archive.New(archiveFile) | ||||
| 	defer a.Close() // nolint: errcheck | ||||
|  | ||||
|   | ||||
| @@ -52,7 +52,7 @@ func doPublish(ctx *context.Context, c client.Client) error { | ||||
| 	} | ||||
| 	log.WithField("tag", ctx.Git.CurrentTag). | ||||
| 		WithField("repo", ctx.Config.Release.GitHub.String()). | ||||
| 		Info("release") | ||||
| 		Info("creating or updating release") | ||||
| 	body, err := describeBody(ctx) | ||||
| 	if err != nil { | ||||
| 		return err | ||||
|   | ||||
| @@ -133,7 +133,7 @@ func create(ctx *context.Context, arch string, binaries []artifact.Artifact) err | ||||
| 	} | ||||
|  | ||||
| 	var file = filepath.Join(primeDir, "meta", "snap.yaml") | ||||
| 	log.WithField("file", file).Debug("snap metadata") | ||||
| 	log.WithField("file", file).Debug("creating snap metadata") | ||||
|  | ||||
| 	var metadata = &Metadata{ | ||||
| 		Version:       ctx.Version, | ||||
| @@ -187,7 +187,7 @@ func create(ctx *context.Context, arch string, binaries []artifact.Artifact) err | ||||
| 	} | ||||
|  | ||||
| 	var snap = filepath.Join(ctx.Config.Dist, folder+".snap") | ||||
| 	log.WithField("snap", snap) | ||||
| 	log.WithField("snap", snap).Info("creating") | ||||
| 	/* #nosec */ | ||||
| 	var cmd = exec.CommandContext(ctx, "snapcraft", "pack", primeDir, "--output", snap) | ||||
| 	if out, err = cmd.CombinedOutput(); err != nil { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user