Skip to content

Commit

Permalink
Merge pull request #384 from digitalocean/hholz/1.12.2
Browse files Browse the repository at this point in the history
prepare version 1.12.2 for release
  • Loading branch information
hilary authored Dec 9, 2018
2 parents bf828cc + 7d8f42f commit 74b1791
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 12 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

All changes to `doctl` will be documented in this file.

## [1.12.2] - UNRELEASED
## [1.12.2] - 2018-12-09

- #383 Fix bad default for cluster node sizes, improve help and warn of kubeconfig expiry date.

Expand Down
22 changes: 18 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,13 @@ so first install mockery in your `GOPATH` then run the `script/regenmocks.sh` sc
First, make sure the [CHANGELOG](https://github.com/digitalocean/doctl/blob/master/CHANGELOG.md)
contains all changes for the version you're going to release.

Update the version in:

* README.md
* doit.go
* Dockerfile
* snap/snapcraft.yml

#### Setup

To release `doctl`, you need to install:
Expand All @@ -101,7 +108,14 @@ then upload using `scripts/upload.sh <version>`.
Finally, go to [releases](https://github.com/digitalocean/doctl/releases) and update the release
description to contain all changelog entries for this specific release.

Also don't forget to update:
- Dockerfile
- snapcraft
- [homebrew formula](https://github.com/Homebrew/homebrew-core/blob/master/Formula/doctl.rb)
#### Homebrew

Using the url and sha from the github release, update the
[homebrew formula](https://github.com/Homebrew/homebrew-core/blob/master/Formula/doctl.rb).
You can use `brew bump-formula-pr doctl`, or

1. fork `homebrew-core`
1. create a branch named `doctl-<version>`
1. update the url and the sha256 using the values for the archive in the github release
1. commit your changes
1. submit a PR to homebrew
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM alpine:3.8

ENV DOCTL_VERSION=1.12.1
ENV DOCTL_VERSION=1.12.2

RUN apk add --no-cache curl

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,25 +58,25 @@ For example, with `wget`:

```
cd ~
wget https://github.com/digitalocean/doctl/releases/download/v1.12.1/doctl-1.12.1-linux-amd64.tar.gz
wget https://github.com/digitalocean/doctl/releases/download/v1.12.2/doctl-1.12.2-linux-amd64.tar.gz
```

Or with `curl`:

```
cd ~
curl -OL https://github.com/digitalocean/doctl/releases/download/v1.12.1/doctl-1.12.1-linux-amd64.tar.gz
curl -OL https://github.com/digitalocean/doctl/releases/download/v1.12.2/doctl-1.12.2-linux-amd64.tar.gz
```

Extract the binary. On GNU/Linux or OS X systems, you can use `tar`.

```
tar xf ~/doctl-1.12.1-linux-amd64.tar.gz
tar xf ~/doctl-1.12.2-linux-amd64.tar.gz
```

Or download and extract with this oneliner:
```
curl -sL https://github.com/digitalocean/doctl/releases/download/v1.12.1/doctl-1.12.1-linux-amd64.tar.gz | tar -xzv
curl -sL https://github.com/digitalocean/doctl/releases/download/v1.12.2/doctl-1.12.2-linux-amd64.tar.gz | tar -xzv
```

On Windows systems, you should be able to double-click the zip archive to extract the `doctl` executable.
Expand Down
2 changes: 1 addition & 1 deletion doit.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ var (
DoitVersion = Version{
Major: 1,
Minor: 12,
Patch: 1,
Patch: 2,
Label: "dev",
}

Expand Down
2 changes: 1 addition & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: doctl
version: "1.12.1"
version: "1.12.2"
summary: A command line tool for DigitalOcean services
description: doctl is a command line tool for DigitalOcean servics using the API.
confinement: classic
Expand Down

0 comments on commit 74b1791

Please sign in to comment.