containerd/cmd/dist
Stephen J Day 935144fadd
version: finish version setup
This setup will now correctly set the version number from the git tag.
When using `--version`, we will see the binary name, the package it was
built from and a git hash based on the tag:

```console
$./bin/dist -v
./bin/dist github.com/docker/containerd 0b45d91.m
```

Note that in the above example, if we set a tag of `v1.0.0-dev`, that
will show up in the version number, as follows:

```console
$./bin/dist -v
./bin/dist github.com/docker/containerd v1.0.0-dev
```

Once commits are made past that tag, the version number will be
expressed relative to that tag and include a git hash:

```console
$./bin/dist -v
./bin/dist github.com/docker/containerd v1.0.0-dev-1-g7953e96.m
```

Some these examples include a `.m` postfix. This indicates that the
binary was build from a source tree with local modifications.

We can add a dev tag to start getting 1.0 version numbers for test
builds.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-02-22 13:16:06 -08:00
..
active.go content: refactor content store for API 2017-02-21 13:10:22 -08:00
apply.go Update log lines to use containerd log package 2017-02-17 11:50:49 -08:00
common.go content: refactor content store for API 2017-02-21 13:10:22 -08:00
delete.go content: refactor content store for API 2017-02-21 13:10:22 -08:00
fetch.go Merge pull request #549 from fate-grand-order/typo 2017-02-21 11:14:15 -08:00
get.go cmd/dist: port commands over to use GRPC content store 2017-02-21 13:10:31 -08:00
ingest.go cmd/dist: port commands over to use GRPC content store 2017-02-21 13:10:31 -08:00
list.go content: refactor content store for API 2017-02-21 13:10:22 -08:00
main.go version: finish version setup 2017-02-22 13:16:06 -08:00