Skip to content

Commit

Permalink
goreleaser changes, tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
pierotofy committed Jan 12, 2019
1 parent 02139dd commit 430d3bc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
11 changes: 8 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
# Check the documentation at http://goreleaser.com
project_name: odm
project_name: CloudODM
builds:
-
main: ./cmd/main.go
main: ./cmd/odm/main.go
binary: odm
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
archive:
format_overrides:
- goos: windows
Expand All @@ -18,7 +23,7 @@ archive:
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
name_template: "{{ .Tag }}"
changelog:
sort: asc
filters:
Expand Down
4 changes: 2 additions & 2 deletions internal/odm/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ func Run(files []string, options []Option, node Node, outputPath string) {
}

if status == STATUS_CANCELED || status == STATUS_FAILED {
logger.Error("Task failed or canceled")
os.Exit(1)
}

if status == STATUS_COMPLETED {
Expand Down Expand Up @@ -241,6 +241,6 @@ func Run(files []string, options []Option, node Node, outputPath string) {
logger.Info(err)
}

logger.Info("Done!")
logger.Info("Done! Results saved in " + outputPath)
}
}

0 comments on commit 430d3bc

Please sign in to comment.