Skip to content

Commit

Permalink
Merge pull request #348 from hugocorbucci/fix/CTR-3765/adding-image-s…
Browse files Browse the repository at this point in the history
…upport-to-tagging

Support tagging with images
  • Loading branch information
hugocorbucci authored Oct 1, 2018
2 parents 2acfcef + 50f221b commit 3779993
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

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

## [1.10.0] - 2018-10-01

- #348 Add support for tagging Images. - @hugocorbucci

## [1.9.0] - 2018-08-27

- #343 Add support for Spaces CDN. - @sunny-b
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM alpine:3.5

ENV DOCTL_VERSION=1.9.0
ENV DOCTL_VERSION=1.10.0

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.9.0/doctl-1.9.0-linux-amd64.tar.gz
wget https://github.com/digitalocean/doctl/releases/download/v1.10.0/doctl-1.10.0-linux-amd64.tar.gz
```

Or with `curl`:

```
cd ~
curl -OL https://github.com/digitalocean/doctl/releases/download/v1.9.0/doctl-1.9.0-linux-amd64.tar.gz
curl -OL https://github.com/digitalocean/doctl/releases/download/v1.10.0/doctl-1.10.0-linux-amd64.tar.gz
```

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

```
tar xf ~/doctl-1.9.0-linux-amd64.tar.gz
tar xf ~/doctl-1.10.0-linux-amd64.tar.gz
```

Or download and extract with this oneliner:
```
curl -sL https://github.com/digitalocean/doctl/releases/download/v1.9.0/doctl-1.9.0-linux-amd64.tar.gz | tar -xzv
curl -sL https://github.com/digitalocean/doctl/releases/download/v1.10.0/doctl-1.10.0-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
6 changes: 6 additions & 0 deletions commands/tags_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ limitations under the License.
package commands

import (
"fmt"
"testing"

"github.com/digitalocean/doctl"
Expand All @@ -27,10 +28,15 @@ var (
Tag: &godo.Tag{
Name: "mytag",
Resources: &godo.TaggedResources{
Count: 5,
LastTaggedURI: fmt.Sprintf("https://api.digitalocean.com/v2/droplets/%d", testDroplet.ID),
Droplets: &godo.TaggedDropletsResources{
Count: 5,
LastTagged: testDroplet.Droplet,
},
Images: &godo.TaggedImagesResources{
Count: 0,
},
}}}
testTagList = do.Tags{
testTag,
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.9.0"
version: "1.10.0"
summary: A command line tool for DigitalOcean services
description: doctl is a command line tool for DigitalOcean servics using the API.
confinement: strict
Expand Down

0 comments on commit 3779993

Please sign in to comment.