Skip to content

Commit

Permalink
feat: output OS/arch in effect
Browse files Browse the repository at this point in the history
Not necessarily the build one any more, could be $WRUN_OS_ARCH.
  • Loading branch information
scop committed Nov 16, 2023
1 parent 28edff7 commit d1338e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wrun.go
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,7 @@ Environment variables:
if osArch == "" {
osArch = runtime.GOOS + "/" + runtime.GOARCH
}
infoOut("OS/arch: %s", osArch)

ur, err := selectURL(osArch, cfg.urlMatches)
if err != nil {
Expand Down

0 comments on commit d1338e2

Please sign in to comment.