Skip to content

Commit

Permalink
Merge pull request #11 from 8MiYile/master
Browse files Browse the repository at this point in the history
add: platform linux to linux-amd64 (format)
  • Loading branch information
wudifeixue authored Mar 25, 2024
2 parents 1ad66fa + 7bc4ecc commit 23cbc9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func (c *Config) getUpstreamURL() string {
if !c.Hide {
v.Add("runtime", "go")
v.Add("version", VERSION)
v.Add("platform", runtime.GOOS)
v.Add("platform", runtime.GOOS + "-" + runtime.GOARCH)
}
if c.UUID != "" {
re := regexp.MustCompile("^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$")
Expand Down

0 comments on commit 23cbc9b

Please sign in to comment.