-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbake.rb
More file actions
32 lines (26 loc) · 775 Bytes
/
bake.rb
File metadata and controls
32 lines (26 loc) · 775 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# frozen_string_literal: true
# Released under the MIT License.
# Copyright, 2023-2026, by Samuel Williams.
# Update the project documentation with the new version number.
#
# @parameter version [String] The new version number.
def after_gem_release_version_increment(version)
context["releases:update"].call(version)
context["utopia:project:update"].call
end
# Create a GitHub release for the given tag.
#
# @parameter tag [String] The tag to create a release for.
def after_gem_release(tag:, **options)
context["releases:github:release"].call(tag)
end
def build
ext_path = File.expand_path("ext", __dir__)
Dir.chdir(ext_path) do
system("teapot", "fetch")
system("teapot", "scheduler-ruby-library", "Ruby/Protocol/HTTP3")
end
end
def before_test
build
end