Skip to content

Commit 8b811ef

Browse files
committed
Update core to 1.3.0
1 parent cdaf596 commit 8b811ef

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Rakefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,16 @@ task :render_git_revision do
5858
`git fetch --tags >/dev/null 2>&1`
5959
`git describe --long --always HEAD`.strip
6060
end
61+
core_timestamp = Dir.chdir(File.join(__dir__, 'ext', 'couchbase')) do # rubocop:disable ThreadSafety/DirChdir
62+
`git log --max-count=1 --no-patch --format=%cd --date=format:%Y-%m-%dT%H:%M:%S HEAD`.strip
63+
end
64+
6165
File.open(File.join(__dir__, "ext", "cache", "extconf_include.rb"), "a+") do |io|
6266
io.puts(<<~REVISIONS)
6367
cmake_flags << "-DEXT_GIT_REVISION=#{library_revision}"
6468
cmake_flags << "-DCOUCHBASE_CXX_CLIENT_GIT_REVISION=#{core_revision}"
6569
cmake_flags << "-DCOUCHBASE_CXX_CLIENT_GIT_DESCRIBE=#{core_describe}"
70+
cmake_flags << "-DCOUCHBASE_CXX_CLIENT_BUILD_TIMESTAMP=#{core_timestamp}"
6671
REVISIONS
6772
end
6873
end

ext/couchbase

0 commit comments

Comments
 (0)