From ae1c3c0708627ab9f2adf7caeeccd2948ecc83ca Mon Sep 17 00:00:00 2001 From: Joel Hendrix Date: Wed, 1 Nov 2017 14:24:42 -0700 Subject: [PATCH] Add constants for user agent and version info. To support telemetry for the pipeline package. --- pipeline/version.go | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 pipeline/version.go diff --git a/pipeline/version.go b/pipeline/version.go new file mode 100644 index 0000000..c4bb62d --- /dev/null +++ b/pipeline/version.go @@ -0,0 +1,9 @@ +package pipeline + +const ( + // UserAgent is the string to be used in the user agent string when making requests. + UserAgent = "azure-pipeline-go/" + Version + + // Version is the semantic version (see http://semver.org) of the pipeline package. + Version = "0.1.0" +)