Skip to content

Commit b2f3e51

Browse files
committed
Update GitHub release handling.
Signed-off-by: Samuel Williams <samuel.williams@oriontransfer.co.nz>
1 parent 55f68eb commit b2f3e51

6 files changed

Lines changed: 3 additions & 31 deletions

File tree

‎.github/workflows/release-publish.yaml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ jobs:
6868
id: build
6969
env:
7070
GITHUB_TOKEN: ${{ github.token }}
71-
GEM_SIGNING_KEY: ${{ secrets.GEM_SIGNING_KEY }}
7271
run: bundle exec bake gem:github:release:build
7372
- name: Sign RubyGems attestation
7473
if: steps.build.outputs.restored != 'true'

‎bake.rb‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
# Released under the MIT License.
44
# Copyright, 2025-2026, by Samuel Williams.
55

6-
# Update the project documentation with the new version number.
6+
# Update copyrights and project documentation for the new version.
77
#
88
# @parameter version [String] The new version number.
99
def after_gem_release_version_increment(version)
10+
context["modernize:license"].call
1011
context["releases:update"].call(version)
1112
context["utopia:project:update"].call
1213
end

‎config/release.yaml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,5 @@ checks:
1515
- validate
1616
- Release validation
1717
approvals: 2
18-
signing: true
1918
ruby: '3.4'
2019
environment: rubygems

‎gems.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
group :maintenance, optional: true do
1111
gem "bake-modernize"
12-
gem "bake-gem-github"
12+
gem "bake-gem-github", "~> 0.7.0"
1313
gem "bake-releases"
1414

1515
gem "agent-context"

‎protocol-http2.gemspec‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ Gem::Specification.new do |spec|
1010
spec.authors = ["Samuel Williams", "Yuta Iwama", "Adam Petro", "Denis Talakevich", "Marco Concetto Rudilosso", "Olle Jonsson"]
1111
spec.license = "MIT"
1212

13-
spec.cert_chain = ["release.cert"]
14-
spec.signing_key = File.expand_path("~/.gem/socketry-release.pem")
15-
1613
spec.homepage = "https://github.com/socketry/protocol-http2"
1714

1815
spec.metadata = {

‎release.cert‎

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)