Skip to content

Commit

Permalink
ignore missing arch properly
Browse files Browse the repository at this point in the history
  • Loading branch information
harshavardhana committed Nov 15, 2024
1 parent c3e0c13 commit ee3c2d3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -386,9 +386,11 @@ func main() {
os.MkdirAll(releasePath, 0o755)

semVerTag := semVerRelease(*release)
if !*ignoreMissingArch {
if err := doPackage(*appName, *release, *packager); err != nil {
if err := doPackage(*appName, *release, *packager); err != nil {
if !*ignoreMissingArch {
kingpin.Fatalf(err.Error())
} else {
kingpin.Errorf(err.Error())
}
}

Expand Down

0 comments on commit ee3c2d3

Please sign in to comment.