fix: case insensitive arch
ci/woodpecker/push/goreleaser Pipeline was successful Details
ci/woodpecker/tag/goreleaser Pipeline was successful Details

Signed-off-by: jolheiser <john.olheiser@gmail.com>
main v0.0.7
jolheiser 2023-02-21 21:37:31 -06:00
parent e8303793b2
commit 123857ac73
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
1 changed files with 2 additions and 2 deletions

View File

@ -12,8 +12,8 @@ import (
var (
amd64Re = regexp.MustCompile(`amd64|x86_64|64-bit|[^mhv]64`)
linuxRe = regexp.MustCompile(`linux`)
windowsRe = regexp.MustCompile(`windows|\Awin`)
linuxRe = regexp.MustCompile(`(?i)linux`)
windowsRe = regexp.MustCompile(`(?i)windows|\Awin`)
installerRe = regexp.MustCompile(`\.deb|\.msi`)
)