"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "releaser/releaser.go" between
hugo-0.80.0.tar.gz and hugo-0.81.0.tar.gz

About: Hugo is a static site generator that takes a source directory of Markdown files and templates and uses these as input to create a complete website (written in Go).

releaser.go  (hugo-0.80.0):releaser.go  (hugo-0.81.0)
skipping to change at line 265 skipping to change at line 265
log.Fatal("push failed:", err) log.Fatal("push failed:", err)
} }
} }
func (r *ReleaseHandler) release(releaseNotesFile string) error { func (r *ReleaseHandler) release(releaseNotesFile string) error {
if r.try { if r.try {
fmt.Println("Skip goreleaser...") fmt.Println("Skip goreleaser...")
return nil return nil
} }
args := []string{"--rm-dist", "--release-notes", releaseNotesFile} args := []string{"--parallelism", "3", "--rm-dist", "--release-notes", re leaseNotesFile}
if r.skipPublish { if r.skipPublish {
args = append(args, "--skip-publish") args = append(args, "--skip-publish")
} }
cmd, _ := hexec.SafeCommand("goreleaser", args...) cmd, _ := hexec.SafeCommand("goreleaser", args...)
cmd.Stdout = os.Stdout cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr cmd.Stderr = os.Stderr
err := cmd.Run() err := cmd.Run()
if err != nil { if err != nil {
return errors.Wrap(err, "goreleaser failed") return errors.Wrap(err, "goreleaser failed")
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)