From 793e2f46ff581e2e1ff63d9d7b4c9e82901e052a Mon Sep 17 00:00:00 2001 From: dz0ny Date: Wed, 17 Aug 2016 10:39:25 +0200 Subject: [PATCH] Update to latest stable GO version --- LICENSE | 2 +- Makefile | 4 ++-- README.md | 12 ++++++------ src/gobu/main.go | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/LICENSE b/LICENSE index de79083..a62d93c 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2015 Janez Troha +Copyright (c) 2015-16 Janez Troha Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/Makefile b/Makefile index f1532b6..f729e22 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -GOVERSION := 1.6.2 -VERSION := 0.6.2-2 +GOVERSION := 1.7.0 +VERSION := 0.7.0 all: setup build lint diff --git a/README.md b/README.md index 8a73c03..4de5584 100644 --- a/README.md +++ b/README.md @@ -2,25 +2,25 @@ [![wercker status](https://app.wercker.com/status/db2136ecdcb6c98f23d442af3d42e7d8/m "wercker status")](https://app.wercker.com/project/bykey/db2136ecdcb6c98f23d442af3d42e7d8) [![Go Report Card](https://goreportcard.com/badge/github.com/dz0ny/gobu)](https://goreportcard.com/report/github.com/dz0ny/gobu) -Painless bootstrapping of golang. It downloads and installs GO for your OS -and arhitecture, sets GOROOT, GOPATH and runs default shell or your command. +Painless bootstrapping of GOlang. It downloads and installs GO for your OS +and architecture, sets GOROOT, GOPATH and runs default shell or your command. ``` Usage of gobu: -GOPATH string - Overide GOPATH (default "/home/dz0ny/gobu") + Overide GOPATH (default "/home/username/gobu") -env_path string - Location of GO instalation (default "/home/dz0ny/.gobu") + Location of GO instalation (default "/home/username/.gobu") -exec string Run command instead of default shell -version string - Version of Golang you wish to use (default "1.6.2") + Version of Golang you wish to use (default "1.7.0") ``` You can find compiled binaries for your platform under "Releases" or if you prefer quick install: ``` -$ curl -L https://github.com/dz0ny/gobu/releases/download/v0.6.2-1/gobu-`uname -s`-`uname -m` > /usr/local/bin/gobu +$ curl -L https://github.com/dz0ny/gobu/releases/download/v0.7.0/gobu-`uname -s`-`uname -m` > /usr/local/bin/gobu $ chmod +x /usr/local/bin/gobu ``` diff --git a/src/gobu/main.go b/src/gobu/main.go index 7803c1d..0c09cce 100644 --- a/src/gobu/main.go +++ b/src/gobu/main.go @@ -15,7 +15,7 @@ import ( var goPath = "" var execCmd = "" var envPath = ".gobu" -var globalVersion = "1.6.2" +var globalVersion = "1.7.0" var onlinePath = "https://storage.googleapis.com/golang/go%s.%s-%s.tar.gz" func userHomeDir() string {