Skip to content

Commit

Permalink
release script relocation
Browse files Browse the repository at this point in the history
  • Loading branch information
DarienRaymond committed Dec 25, 2017
1 parent e8cad4a commit a82ca01
Show file tree
Hide file tree
Showing 13 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/router/condition_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ func loadGeoSite(country string) ([]*Domain, error) {
func TestChinaSites(t *testing.T) {
assert := With(t)

common.Must(sysio.CopyFile(platform.GetAssetLocation("geosite.dat"), filepath.Join(os.Getenv("GOPATH"), "src", "v2ray.com", "core", "tools", "release", "config", "geosite.dat")))
common.Must(sysio.CopyFile(platform.GetAssetLocation("geosite.dat"), filepath.Join(os.Getenv("GOPATH"), "src", "v2ray.com", "core", "release", "config", "geosite.dat")))

domains, err := loadGeoSite("CN")
assert(err, IsNil)
Expand Down
6 changes: 3 additions & 3 deletions common/net/ipnet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func TestIPNet(t *testing.T) {

func TestGeoIPCN(t *testing.T) {
assert := With(t)
common.Must(sysio.CopyFile(platform.GetAssetLocation("geoip.dat"), filepath.Join(os.Getenv("GOPATH"), "src", "v2ray.com", "core", "tools", "release", "config", "geoip.dat")))
common.Must(sysio.CopyFile(platform.GetAssetLocation("geoip.dat"), filepath.Join(os.Getenv("GOPATH"), "src", "v2ray.com", "core", "release", "config", "geoip.dat")))

ips, err := loadGeoIP("CN")
common.Must(err)
Expand Down Expand Up @@ -87,7 +87,7 @@ func loadGeoIP(country string) ([]*router.CIDR, error) {
}

func BenchmarkIPNetQuery(b *testing.B) {
common.Must(sysio.CopyFile(platform.GetAssetLocation("geoip.dat"), filepath.Join(os.Getenv("GOPATH"), "src", "v2ray.com", "core", "tools", "release", "config", "geoip.dat")))
common.Must(sysio.CopyFile(platform.GetAssetLocation("geoip.dat"), filepath.Join(os.Getenv("GOPATH"), "src", "v2ray.com", "core", "release", "config", "geoip.dat")))

ips, err := loadGeoIP("CN")
common.Must(err)
Expand All @@ -105,7 +105,7 @@ func BenchmarkIPNetQuery(b *testing.B) {
}

func BenchmarkCIDRQuery(b *testing.B) {
common.Must(sysio.CopyFile(platform.GetAssetLocation("geoip.dat"), filepath.Join(os.Getenv("GOPATH"), "src", "v2ray.com", "core", "tools", "release", "config", "geoip.dat")))
common.Must(sysio.CopyFile(platform.GetAssetLocation("geoip.dat"), filepath.Join(os.Getenv("GOPATH"), "src", "v2ray.com", "core", "release", "config", "geoip.dat")))

ips, err := loadGeoIP("CN")
common.Must(err)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tools/release/doc/readme.md → release/doc/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ v2ray --config=<full path>

压缩包中的 .sig 文件为 GPG 签名文件,用来验证对应程序文件的真实性。签名公钥可以在下面的链接找到:

https://github.com/v2ray/v2ray-core/blob/master/tools/release/verify/official_release.asc
https://github.com/v2ray/v2ray-core/blob/master/release/verify/official_release.asc

## 问题反馈

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 0 additions & 2 deletions tools/tools.go

This file was deleted.

0 comments on commit a82ca01

Please sign in to comment.