提交 3eedf6d5 编写于 作者: J Jingwen Owen Ou

Merge pull request #649 from github/build_script_adjustment

Typo in build script to disable update
......@@ -65,7 +65,7 @@ func (updater *Updater) PromptForUpdate() (err error) {
case "always":
err = updater.updateTo(releaseName, version)
default:
fmt.Println("There is a newer version of gh available.")
fmt.Println("There is a newer version of hub available.")
fmt.Print("Would you like to update? ([Y]es/[N]o/[A]lways/N[e]ver): ")
var confirm string
fmt.Scan(&confirm)
......
......@@ -97,7 +97,7 @@ class Packer
def build_toolchain!
puts "Building Go toolchain"
result = system "gox -build-toolchain -os=#{OS.type} -tags=noupdate"
result = system "gox -build-toolchain -os=#{OS.type}"
raise "Fail to build Go toolchain" unless result
end
......@@ -113,7 +113,7 @@ class Packer
def build_hub!
puts "Building for #{OS.type}"
exec!("script/godep gox -os=#{OS.type} -output=./target/{{.Dir}}_#{version}_{{.OS}}_{{.Arch}}/{{.Dir}}")
exec!("script/godep gox -os=#{OS.type} -output=./target/{{.Dir}}_#{version}_{{.OS}}_{{.Arch}}/{{.Dir}} -tags=noupdate")
end
def cp_assets
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册