Skip to content

Commit

Permalink
openbsd release
Browse files Browse the repository at this point in the history
  • Loading branch information
DarienRaymond committed Oct 17, 2016
1 parent 5a311cb commit 67d597a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions tools/build/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const (
MacOS = GoOS("darwin")
Linux = GoOS("linux")
FreeBSD = GoOS("freebsd")
OpenBSD = GoOS("openbsd")
UnknownOS = GoOS("unknown")
)

Expand Down Expand Up @@ -39,6 +40,9 @@ func parseOS(rawOS string) GoOS {
if osStr == "freebsd" {
return FreeBSD
}
if osStr == "openbsd" {
return OpenBSD
}
return UnknownOS
}

Expand Down
4 changes: 3 additions & 1 deletion tools/release/release-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ $GOPATH/bin/build --os=linux --arch=arm --zip
$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=freebsd --arch=amd64 --zip
$GOPATH/bin/build --os=openbsd --arch=amd64 --zip
$GOPATH/bin/build --os=openbsd --arch=amd64 --zip

0 comments on commit 67d597a

Please sign in to comment.