Commit Graph

27 Commits

Author SHA1 Message Date
Preetha Appan d89545b01e
Put tree back into dev mode 2018-04-13 17:17:29 -05:00
Kyle Havlovitz 9802427bb8
Put the tree in 1.0.7 release mode 2018-04-13 08:58:27 -07:00
Kyle Havlovitz 34cd78b3bf
Puts the tree back into dev mode 2018-02-09 10:25:58 -08:00
Preetha Appan af43c55d1b
Puts tree in release mode for 1.0.6 2018-02-09 11:45:56 -06:00
Preetha Appan b19861812f
Puts tree back in dev mode 2018-02-07 15:25:36 -06:00
Preetha Appan 9251ab4333
Puts version in 1.0.5 release mode 2018-02-07 14:28:50 -06:00
Preetha Appan 32f89f4306
Puts version.go into dev mode 2018-02-06 18:01:47 -06:00
Preetha Appan 836e882b29
Bumps tree to 1.0.4 release mode 2018-02-06 15:07:54 -06:00
James Phillips d844c1787c
Puts the tree into 1.0.4 dev mode. 2018-01-24 08:01:59 -08:00
James Phillips c2d82891b7
Puts the tree into 1.0.3 release mode. 2018-01-24 06:53:21 -08:00
James Phillips b7e99f2b0f
Puts the tree in 1.0.3 dev mode. 2017-12-15 08:10:37 -08:00
James Phillips 0cbdb68983
Puts the tree into 1.0.2 release mode. 2017-12-15 05:49:40 -08:00
James Phillips a928c88704
Puts the tree into 1.0.2 dev mode. 2017-11-20 14:46:12 -08:00
James Phillips 462876e521
Puts the tree into 1.0.1 release mode. 2017-11-20 13:55:07 -08:00
James Phillips d52bf2dcc7
Puts the tree into 1.0.1-rc1 release mode. 2017-11-10 14:36:20 -08:00
James Phillips 5fe5a0b4f3
Puts the tree in 1.0.1 dev mode. 2017-10-16 10:28:06 -07:00
James Phillips 8a50327a96
Puts the tree in 1.0 final release mode. 2017-10-16 09:16:52 -07:00
James Phillips 5ba517b187
Puts the tree in 1.0.0-beta2 release mode. 2017-10-04 23:00:06 -07:00
James Phillips 6923ff97ef
Puts the tree in 1.0.0-beta1 release mode. 2017-09-27 16:20:48 -07:00
James Phillips 687da35244
Tweaks some versions around 1.0.0. 2017-09-25 13:47:45 -07:00
James Phillips f51b8d291b
Puts tree in 0.9.4 dev mode. 2017-09-08 11:13:20 -07:00
James Phillips 9a4ed967c1
Puts the tree in 0.9.3 release mode. 2017-09-08 09:34:55 -07:00
James Phillips f6ba414480
Puts the tree into 0.9.3-rc2 release mode. 2017-09-06 13:45:28 -07:00
James Phillips fb8dd4ab58
Puts the tree in 0.9.3-rc1 release mode. 2017-09-05 10:49:10 -07:00
Frank Schroeder a11f3bb52b build: drop 'consul' build tag for OSS build 2017-08-30 13:40:18 +02:00
Frank Schroeder 62c77d70f0 build: make tests independent of build tags
When the metadata server is scanning the agents for potential servers
it is parsing the version number which the agent provided when it
joined. This version number has to conform to a certain format, i.e.
'n.n.n'. Without this version number properly set some tests fail with
error messages that disguise the root cause.

The default version number is currently set to 'unknown' in
version/version.go which does not parse and triggers the tests to fail.
The work around is to use a build tag 'consul' which will use the
version number set in version_base.go instead which has the correct
format and is set to the current release version.

In addition, some parts of the code also require the version number to
be of a certain value. Setting it to '0.0.0' for example makes some
tests pass and others fail since they don't pass the semantic check.

When using go build/install/test one has to remember to use '-tags
consul' or tests will fail with non-obvious error messages.

Using build tags makes the build process more complex and error prone
since it prevents the use of the plain go toolchain and - at least in
its current form - introduces subtle build and test issues. We should
try to eliminate build tags for anything else but platform specific
code.

This patch removes all references to specific version numbers in the
code and tests and sets the default version to '9.9.9' which is
syntactically correct and passes the semantic check. This solves the
issue of running go build/install/test without tags for the OSS build.
2017-08-30 13:40:18 +02:00
James Phillips 9003454f88 Adds basic build tag support with different versions. (#2463) 2016-11-02 17:27:49 -07:00
Renamed from version.go (Browse further)