Skip to content

Commit

Permalink
[NO-TICKET] Package libdatadog v7.0.0 for Ruby
Browse files Browse the repository at this point in the history
**What does this PR do?**

This PR includes the changes documented in the "Releasing a new version
to rubygems.org" part of the README:
https://github.com/datadog/libdatadog/tree/main/ruby#releasing-a-new-version-to-rubygemsorg

(It's also very similar to the same as the v6.0.0 release PR).

**Motivation:**

Enable Ruby to use libdatadog v7.0.0.

**Additional Notes:**

N/A

**How to test the change?**

I've tested this release locally against the changes in
DataDog/dd-trace-rb#3536 .

As a reminder, new libdatadog releases don't get automatically picked up
by dd-trace-rb, so the PR that bumps the Ruby profiler will also test
this release against all supported Ruby versions.
  • Loading branch information
ivoanjo committed Mar 19, 2024
1 parent 1fe7d8c commit 4d98378
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions ruby/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require "rubygems/package"

RSpec::Core::RakeTask.new(:spec)

LIB_VERSION_TO_PACKAGE = "6.0.0"
LIB_VERSION_TO_PACKAGE = "7.0.0"
unless LIB_VERSION_TO_PACKAGE.start_with?(Libdatadog::LIB_VERSION)
raise "`LIB_VERSION_TO_PACKAGE` setting in <Rakefile> (#{LIB_VERSION_TO_PACKAGE}) does not match " \
"`LIB_VERSION` setting in <lib/libdatadog/version.rb> (#{Libdatadog::LIB_VERSION})"
Expand All @@ -20,22 +20,22 @@ end
LIB_GITHUB_RELEASES = [
{
file: "libdatadog-aarch64-alpine-linux-musl.tar.gz",
sha256: "05d74d3fd7d6772df20f7ab883343e1e957141eebf3438699e9d11ba85645beb",
sha256: "9e3e5adb45c3a36f22005c2ace34d5c0f23bbd7fe9c9de6025e2645955ee3ed9",
ruby_platform: "aarch64-linux-musl"
},
{
file: "libdatadog-aarch64-unknown-linux-gnu.tar.gz",
sha256: "06b4fef45c3ae9c4ea96122c0b9c87a265b7f32ba8684f6b799dbc1b7741d3cb",
sha256: "13e2f4ccfebcfef501c84cdbd12782c1b0e9065fa8a2f47b513fc246644851cf",
ruby_platform: "aarch64-linux"
},
{
file: "libdatadog-x86_64-alpine-linux-musl.tar.gz",
sha256: "9bcf744862677a4bef0d826ac3cbe27d134fc3442ef5ac3a8d38e6783d83a659",
sha256: "c0d6457efec7e2f73b81ba837a06e07e675d099c3be727e58e2ae1f5416c13ab",
ruby_platform: "x86_64-linux-musl"
},
{
file: "libdatadog-x86_64-unknown-linux-gnu.tar.gz",
sha256: "a0f0d71dd44e94039166ada166cb3917e262abc22a6f76784b8cc793b59da2c5",
sha256: "f94a36d8a0061486814a23a2bc710dc7c5312be6259d6dfb02b6489ba346f2e0",
ruby_platform: "x86_64-linux"
}
]
Expand Down
4 changes: 2 additions & 2 deletions ruby/lib/libdatadog/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

module Libdatadog
# Current libdatadog version
LIB_VERSION = "6.0.0"
LIB_VERSION = "7.0.0"

GEM_MAJOR_VERSION = "2"
GEM_MAJOR_VERSION = "1"
GEM_MINOR_VERSION = "0"
GEM_PRERELEASE_VERSION = "" # remember to include dot prefix, if needed!
private_constant :GEM_MAJOR_VERSION, :GEM_MINOR_VERSION, :GEM_PRERELEASE_VERSION
Expand Down

0 comments on commit 4d98378

Please sign in to comment.