Skip to content

Commit

Permalink
Bump golang 1.12
Browse files Browse the repository at this point in the history
The following moves Juju to go version 1.12
  • Loading branch information
SimonRichardson committed Jun 11, 2019
1 parent 336ef0d commit e047435
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ rebuild-dependencies:
# Install packages required to develop Juju and run tests. The stable
# PPA includes the required mongodb-server binaries.
install-dependencies:
@echo Installing go-1.11 snap
@sudo snap install go --channel=1.11/stable --classic
@echo Installing go-1.12 snap
@sudo snap install go --channel=1.12/stable --classic
@echo Adding juju PPA for mongodb
@sudo apt-add-repository --yes ppa:juju/stable
@sudo apt-get update
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,20 @@ If you are looking for binary releases of `juju`, they are available in the snap
Installing Go
--------------

`Juju's` source code currently depends on Go 1.11. One of the easiest ways
`Juju's` source code currently depends on Go 1.12. One of the easiest ways
to install golang is from a snap. You may need to first install
the [snap client](https://snapcraft.io/docs/core/install). Installing the golang
snap package is then as easy as

snap install go --channel=1.11/stable --classic
snap install go --channel=1.12/stable --classic

You can read about the "classic" confinement policy [here](https://insights.ubuntu.com/2017/01/09/how-to-snap-introducing-classic-confinement/)

If you want to use `apt`, then you can add the [Golang Gophers PPA](https://launchpad.net/~gophers/+archive/ubuntu/archive) and then install by running the following

sudo add-apt-repository ppa:gophers/archive
sudo apt-get update
sudo apt install golang-1.11
sudo apt install golang-1.12

Alternatively, you can always follow the official [binary installation instructions](https://golang.org/doc/install#install)

Expand Down

0 comments on commit e047435

Please sign in to comment.