consul/build-support/functions
Paul Banks 11362e77be
build: use only version tags in version output now api is tagged too (#5622)
* build: use only version tags in version output now api is tagged too

Fixes #5621

Since we now have api package tags, our build tooling was picking up api tag when working out version to bake into builds.

This fixes it by restricting to only tags that start with `v`.

Before:

```
$ make version
Version:                    1.4.4
Version + release:          1.4.4-dev
Version + git:              api/v1.0.1-90-g3ce60db0c
Version + release + git:    api/v1.0.1-90-g3ce60db0c-dev (3ce60db0c)
```

After:

```
$ make version
Version:                    1.4.4
Version + release:          1.4.4-dev
Version + git:              v1.4.4-126-g3ce60db0c
Version + release + git:    v1.4.4-126-g3ce60db0c-dev (3ce60db0c)
```

* Update GNUmakefile
2019-04-10 12:54:03 +01:00
..
00-vars.sh sed extended regex on linux sometimes requires -r 2018-06-25 10:19:02 -04:00
10-util.sh build: use only version tags in version output now api is tagged too (#5622) 2019-04-10 12:54:03 +01:00
20-build.sh fix remaining CI failures after Go 1.12.1 Upgrade (#5576) 2019-03-29 16:29:27 +01:00
30-release.sh Dont expect the freebsd/arm build 2018-10-19 14:50:51 -04:00
40-publish.sh UI: Add conditional enterprise logo (#4432) 2018-07-30 17:59:43 +01:00