1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-02-09 13:36:56 +02:00

checksum pipe can run on the no-release mode

This commit is contained in:
Carlos Alexandro Becker 2017-04-17 10:58:52 -03:00
parent 7eec7d20d0
commit 20154add09
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

12
main.go
View File

@ -79,16 +79,16 @@ func pipes(buildOnly bool) []pipeline.Pipe {
} }
pipes = append( pipes = append(
pipes, pipes,
build.Pipe{}, // build build.Pipe{}, // build
archive.Pipe{}, // archive (tar.gz, zip, etc) archive.Pipe{}, // archive (tar.gz, zip, etc)
fpm.Pipe{}, // archive via fpm (deb, rpm, etc) fpm.Pipe{}, // archive via fpm (deb, rpm, etc)
checksums.Pipe{}, // checksums of the files
) )
if !buildOnly { if !buildOnly {
pipes = append( pipes = append(
pipes, pipes,
checksums.Pipe{}, // checksums of the files release.Pipe{}, // release to github
release.Pipe{}, // release to github brew.Pipe{}, // push to brew tap
brew.Pipe{}, // push to brew tap
) )
} }
return pipes return pipes