mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-02 23:47:07 -05:00
openbsd release
This commit is contained in:
parent
5a311cbe08
commit
67d597af95
@ -33,6 +33,8 @@ deploy:
|
||||
- "$GOPATH/bin/v2ray-linux-mips64.zip"
|
||||
- "$GOPATH/bin/v2ray-freebsd-64.zip"
|
||||
- "$GOPATH/bin/v2ray-freebsd-32.zip"
|
||||
- "$GOPATH/bin/v2ray-openbsd-64.zip"
|
||||
- "$GOPATH/bin/v2ray-openbsd-32.zip"
|
||||
- "$GOPATH/bin/metadata.txt"
|
||||
skip_cleanup: true
|
||||
on:
|
||||
|
@ -11,6 +11,7 @@ const (
|
||||
MacOS = GoOS("darwin")
|
||||
Linux = GoOS("linux")
|
||||
FreeBSD = GoOS("freebsd")
|
||||
OpenBSD = GoOS("openbsd")
|
||||
UnknownOS = GoOS("unknown")
|
||||
)
|
||||
|
||||
@ -39,6 +40,9 @@ func parseOS(rawOS string) GoOS {
|
||||
if osStr == "freebsd" {
|
||||
return FreeBSD
|
||||
}
|
||||
if osStr == "openbsd" {
|
||||
return OpenBSD
|
||||
}
|
||||
return UnknownOS
|
||||
}
|
||||
|
||||
|
@ -12,3 +12,5 @@ $GOPATH/bin/build --os=linux --arch=arm64 --zip
|
||||
$GOPATH/bin/build --os=linux --arch=mips64 --zip
|
||||
$GOPATH/bin/build --os=freebsd --arch=x86 --zip
|
||||
$GOPATH/bin/build --os=freebsd --arch=amd64 --zip
|
||||
$GOPATH/bin/build --os=openbsd --arch=amd64 --zip
|
||||
$GOPATH/bin/build --os=openbsd --arch=amd64 --zip
|
Loading…
Reference in New Issue
Block a user