Remove internal version variable. Always use verison.rb
This commit is contained in:
Родитель
117a60b455
Коммит
3942838210
5
Makefile
5
Makefile
|
@ -7,4 +7,9 @@ test:
|
|||
rake spec
|
||||
|
||||
publish: build test
|
||||
gem bump --version patch
|
||||
make build # rebuild after version increment
|
||||
git tag $(shell ruby scripts/version.rb)
|
||||
git push
|
||||
git push --tags
|
||||
gem push lightstep-tracer-$(shell ruby scripts/version.rb).gem
|
||||
|
|
|
@ -6,8 +6,8 @@ require_relative './no_op_span'
|
|||
require_relative './util'
|
||||
require_relative './transports/transport_http_json'
|
||||
require_relative './thrift/types'
|
||||
require_relative './version.rb'
|
||||
|
||||
LIGHTSTEP_VERSION = '0.1.0'
|
||||
|
||||
# ============================================================
|
||||
# Main implementation of the Tracer interface
|
||||
|
@ -405,7 +405,7 @@ class ClientTracer
|
|||
# Tracer attributes
|
||||
runtime_attrs = {
|
||||
:lightstep_tracer_platform => 'ruby',
|
||||
:lightstep_tracer_version => LIGHTSTEP_VERSION,
|
||||
:lightstep_tracer_version => Lightstep::Tracer::VERSION,
|
||||
:ruby_version => RUBY_VERSION
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче