Skip to content

Commit

Permalink
Merge pull request #649 from github/build_script_adjustment
Browse files Browse the repository at this point in the history
Typo in build script to disable update
  • Loading branch information
owenthereal committed Oct 20, 2014
2 parents 137e28a + 8d41c3d commit 3eedf6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion commands/updater.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions script/package
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit 3eedf6d

Please sign in to comment.