diff --git a/CHANGELOG.md b/CHANGELOG.md index c3e1ed7..504a40c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## v1.4.2 + +- Update collector argument in the Analytics::API payload #170 - @KatieWright26 + ## v1.4.1 - Add in support to create file with trace data #167 diff --git a/Gemfile.lock b/Gemfile.lock index e921eeb..b9a41dd 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,14 +1,14 @@ PATH remote: . specs: - buildkite-test_collector (1.4.1) + buildkite-test_collector (1.4.2) activesupport (>= 4.2) websocket (~> 1.2) GEM remote: https://rubygems.org/ specs: - activesupport (7.0.4) + activesupport (7.0.4.1) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) @@ -17,7 +17,7 @@ GEM diff-lcs (1.4.4) i18n (1.12.0) concurrent-ruby (~> 1.0) - minitest (5.16.3) + minitest (5.17.0) rake (13.0.6) rspec (3.10.0) rspec-core (~> 3.10.0) diff --git a/README.md b/README.md index b2f2fe4..ae218a7 100644 --- a/README.md +++ b/README.md @@ -119,6 +119,20 @@ See [DESIGN.md](DESIGN.md) for an overview of the design of this gem. Bug reports and pull requests are welcome on GitHub at https://github.com/buildkite/test-collector-ruby +## 🚀 Releasing + +1. Bump the version in `version.rb` and run `bundle` to update the `Gemfile.lock`. +1. Update the CHANGELOG.md with your new version and a description of your changes. +1. Git tag your changes and push +``` +git tag v.x.x.x +git push --tags +``` +Once your PR is merged to `main`: + +1. Run `rake release` from `main`. +1. Create a [new release in github](https://github.com/buildkite/test-collector-ruby/releases). + ## 📜 MIT License The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT). diff --git a/lib/buildkite/test_collector/ci.rb b/lib/buildkite/test_collector/ci.rb index f7a6c5b..220ab7a 100644 --- a/lib/buildkite/test_collector/ci.rb +++ b/lib/buildkite/test_collector/ci.rb @@ -38,7 +38,7 @@ def analytics_env "execution_name_prefix" => ENV["BUILDKITE_ANALYTICS_EXECUTION_NAME_PREFIX"], "execution_name_suffix" => ENV["BUILDKITE_ANALYTICS_EXECUTION_NAME_SUFFIX"], "version" => Buildkite::TestCollector::VERSION, - "collector" => Buildkite::TestCollector::NAME, + "collector" => "ruby-#{Buildkite::TestCollector::NAME}", }.compact end diff --git a/lib/buildkite/test_collector/version.rb b/lib/buildkite/test_collector/version.rb index 57d8fe1..4fa750e 100644 --- a/lib/buildkite/test_collector/version.rb +++ b/lib/buildkite/test_collector/version.rb @@ -2,7 +2,7 @@ module Buildkite module TestCollector - VERSION = "1.4.1" + VERSION = "1.4.2" NAME = "buildkite-test_collector" end end diff --git a/spec/test_collector/ci_spec.rb b/spec/test_collector/ci_spec.rb index 8a3007b..cce7201 100644 --- a/spec/test_collector/ci_spec.rb +++ b/spec/test_collector/ci_spec.rb @@ -12,7 +12,7 @@ let(:message) { "bananas are tasty" } let(:debug) { "true" } let(:version) { Buildkite::TestCollector::VERSION } - let(:name) { Buildkite::TestCollector::NAME } + let(:name) { "ruby-#{Buildkite::TestCollector::NAME}" } let(:test_value) { "test_value" } before do