mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-19 20:57:53 +02:00
chore: remove log
This commit is contained in:
parent
2dd00ae7a6
commit
8867356965
@ -88,7 +88,6 @@ func (p Pipe) create(ctx *context.Context, binaries []artifact.Artifact) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
archivePath := filepath.Join(ctx.Config.Dist, folder+"."+format)
|
archivePath := filepath.Join(ctx.Config.Dist, folder+"."+format)
|
||||||
log.Info(archivePath)
|
|
||||||
p.lock.Lock()
|
p.lock.Lock()
|
||||||
if _, err := os.Stat(archivePath); !os.IsNotExist(err) {
|
if _, err := os.Stat(archivePath); !os.IsNotExist(err) {
|
||||||
return fmt.Errorf("archive named %s already exists. Check your archive name template", archivePath)
|
return fmt.Errorf("archive named %s already exists. Check your archive name template", archivePath)
|
||||||
|
@ -261,6 +261,7 @@ func TestRunPipeInvalidGlob(t *testing.T) {
|
|||||||
})
|
})
|
||||||
assert.EqualError(t, Pipe{}.Run(ctx), `failed to find files to archive: globbing failed for pattern [x-]: file does not exist`)
|
assert.EqualError(t, Pipe{}.Run(ctx), `failed to find files to archive: globbing failed for pattern [x-]: file does not exist`)
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestRunPipeWrap(t *testing.T) {
|
func TestRunPipeWrap(t *testing.T) {
|
||||||
folder, back := testlib.Mktmp(t)
|
folder, back := testlib.Mktmp(t)
|
||||||
defer back()
|
defer back()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user