bake-gem-github 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +0 -0
- data/agents.md +437 -0
- data/bake/gem/github/release.rb +51 -0
- data/bake/gem/github/setup.rb +15 -0
- data/bake/gem/github.rb +31 -0
- data/context/getting-started.md +106 -0
- data/context/index.yaml +10 -0
- data/lib/bake/gem/github/project.rb +111 -0
- data/lib/bake/gem/github/publisher.rb +215 -0
- data/lib/bake/gem/github/setup.rb +62 -0
- data/lib/bake/gem/github/version.rb +15 -0
- data/license.md +22 -0
- data/readme.md +12 -0
- data/release.cert +24 -0
- data/releases.md +5 -0
- data/templates/release-prepare.yaml.erb +45 -0
- data/templates/release-publish.yaml.erb +103 -0
- data/templates/release-validate.yaml.erb +32 -0
- data/templates/releasing.md +13 -0
- data.tar.gz.sig +2 -0
- metadata +122 -0
- metadata.gz.sig +2 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Releases
|
|
2
|
+
|
|
3
|
+
Prepare releases with `bundle exec bake gem:github:release:patch` (or `minor` / `major`), or dispatch `release-prepare.yaml` on the default branch. Core `gem:release:branch:*` tasks only create a local branch and commit; they do not push or publish.
|
|
4
|
+
|
|
5
|
+
Review the entire release diff. Native GitHub rules require the configured reviews and CI, including an up-to-date branch and **Release validation**. Administrators can explicitly bypass the review/check rules. A rebase is sufficient only if regenerated content still matches. If notes are stale, prepare again from the current default branch and preserve any manual edits separately for review.
|
|
6
|
+
|
|
7
|
+
Merging a version increase publishes the actual merged commit through `release-publish.yaml`. There is no second release approval. The public `release.cert` stays in Git; the optional private key belongs in the Actions secret `GEM_SIGNING_KEY`, supplied by the `rubygems` environment or an organization secret. RubyGems authentication uses Trusted Publishing.
|
|
8
|
+
|
|
9
|
+
If a publishing job fails, use **Re-run all jobs** on that same workflow run, or `bundle exec bake gem:github:release:resume run=RUN_ID`. The original artifact is downloaded before another upload is attempted. Do not create a replacement version bump or rebuild an already-published version. Conflicting bytes or tags require investigation; never automatically yank a version or move a tag.
|
|
10
|
+
|
|
11
|
+
Verify both the downloaded gem and `release.json` with `gh attestation verify`, enforcing the publishing workflow's certificate identity and default branch ref. Then check the signed receipt's source commit and gem digest; follow the companion gem's setup guide for the complete commands. `--source-digest` checks the workflow revision, which can differ from the release commit. Release assets include the gem, RubyGems Sigstore bundle, GitHub provenance bundle, and signed source/digest receipt.
|
|
12
|
+
|
|
13
|
+
The initial implementation supports public repositories, a single gemspec, stable patch/minor/major versions, and merge/squash commits. Keep rebase merges and merge queues disabled. Generation hooks must be repeatable from the same source and version. Run setup and account recovery checks before enabling publishing; see the companion gem's setup guide.
|
data.tar.gz.sig
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
W������-j��7FN�+��M�z~�ty#@�I~�V��|��ȏF�4��|w-p�H8_���a����-D`ٿ\T۠�9�:����`ɂo�ՠ�0C���Kj����+����;2�e���j}����)�}��E��7�0���%�*
|
|
2
|
+
Q� "�B��:z��{���# �J�>>�l��T�p_�I/P�q��7z�����N�D<�-ﳢ\�����8o$�un�^|�(���t��_����g/��71i!��h�X���w2W�q�?}r�v ��Ѥ��̰c�L�2H6�H�Nfgx��b��9�՟�>�T�ڷb�=�T��m ��ݔe`N!���O�;�F���9j���ހ�k2�@87~9nHp�-M|�ӏ
|
metadata
ADDED
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: bake-gem-github
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.3
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Samuel Williams
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain:
|
|
10
|
+
- |
|
|
11
|
+
-----BEGIN CERTIFICATE-----
|
|
12
|
+
MIIEFDCCAnygAwIBAgIBATANBgkqhkiG9w0BAQsFADAwMREwDwYDVQQKDAhTb2Nr
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vXmFUoHvUINeAvThHxmlEGhSfXl1x55xHEig0rEP4jgdjnYdQI4fqeOM
|
|
28
|
+
zIDN0F3ruArke4Y62SQgWVN7vspdAA41hBIRl1vsvs0KWG8DIVQ8cmR+TG6zjOmK
|
|
29
|
+
iUiUZGNPnStV1O1xW83c+Ba4Am0krP6/forxDPhRvTehqkVYvMdPfYcICNb5IM58
|
|
30
|
+
5vaYvuj5AtfZuZWN0F/0KtSphhNC17rh6h8QmuYdMJ1clvlrkiEaO1UjPVwjgtxC
|
|
31
|
+
x/ARh5X6q0/YTXl4r7EfSJEeqW7qhgu9EUj3mGIPHYdX0Dqih/NgK20F3GvQtTfB
|
|
32
|
+
7sse0duKBHXONYVwKAsceUVvqtCfyF608bCilCkbhw3QaInRj+BkRQKJ5Tuj2PZR
|
|
33
|
+
76a/hwaV2wWn5RtAFBaUQzQdo/xTqJ7IkwaFjOZe/QyvyoRjCK9Rdg==
|
|
34
|
+
-----END CERTIFICATE-----
|
|
35
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
36
|
+
dependencies:
|
|
37
|
+
- !ruby/object:Gem::Dependency
|
|
38
|
+
name: bake-gem
|
|
39
|
+
requirement: !ruby/object:Gem::Requirement
|
|
40
|
+
requirements:
|
|
41
|
+
- - ">="
|
|
42
|
+
- !ruby/object:Gem::Version
|
|
43
|
+
version: 0.15.0
|
|
44
|
+
type: :runtime
|
|
45
|
+
prerelease: false
|
|
46
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
47
|
+
requirements:
|
|
48
|
+
- - ">="
|
|
49
|
+
- !ruby/object:Gem::Version
|
|
50
|
+
version: 0.15.0
|
|
51
|
+
- !ruby/object:Gem::Dependency
|
|
52
|
+
name: net-http
|
|
53
|
+
requirement: !ruby/object:Gem::Requirement
|
|
54
|
+
requirements:
|
|
55
|
+
- - ">="
|
|
56
|
+
- !ruby/object:Gem::Version
|
|
57
|
+
version: '0'
|
|
58
|
+
type: :runtime
|
|
59
|
+
prerelease: false
|
|
60
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
61
|
+
requirements:
|
|
62
|
+
- - ">="
|
|
63
|
+
- !ruby/object:Gem::Version
|
|
64
|
+
version: '0'
|
|
65
|
+
- !ruby/object:Gem::Dependency
|
|
66
|
+
name: bake
|
|
67
|
+
requirement: !ruby/object:Gem::Requirement
|
|
68
|
+
requirements:
|
|
69
|
+
- - "~>"
|
|
70
|
+
- !ruby/object:Gem::Version
|
|
71
|
+
version: '0.25'
|
|
72
|
+
type: :runtime
|
|
73
|
+
prerelease: false
|
|
74
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
75
|
+
requirements:
|
|
76
|
+
- - "~>"
|
|
77
|
+
- !ruby/object:Gem::Version
|
|
78
|
+
version: '0.25'
|
|
79
|
+
executables: []
|
|
80
|
+
extensions: []
|
|
81
|
+
extra_rdoc_files: []
|
|
82
|
+
files:
|
|
83
|
+
- agents.md
|
|
84
|
+
- bake/gem/github.rb
|
|
85
|
+
- bake/gem/github/release.rb
|
|
86
|
+
- bake/gem/github/setup.rb
|
|
87
|
+
- context/getting-started.md
|
|
88
|
+
- context/index.yaml
|
|
89
|
+
- lib/bake/gem/github/project.rb
|
|
90
|
+
- lib/bake/gem/github/publisher.rb
|
|
91
|
+
- lib/bake/gem/github/setup.rb
|
|
92
|
+
- lib/bake/gem/github/version.rb
|
|
93
|
+
- license.md
|
|
94
|
+
- readme.md
|
|
95
|
+
- release.cert
|
|
96
|
+
- releases.md
|
|
97
|
+
- templates/release-prepare.yaml.erb
|
|
98
|
+
- templates/release-publish.yaml.erb
|
|
99
|
+
- templates/release-validate.yaml.erb
|
|
100
|
+
- templates/releasing.md
|
|
101
|
+
homepage: https://github.com/socketry/bake-gem-github
|
|
102
|
+
licenses:
|
|
103
|
+
- MIT
|
|
104
|
+
metadata: {}
|
|
105
|
+
rdoc_options: []
|
|
106
|
+
require_paths:
|
|
107
|
+
- lib
|
|
108
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
109
|
+
requirements:
|
|
110
|
+
- - ">="
|
|
111
|
+
- !ruby/object:Gem::Version
|
|
112
|
+
version: '3.3'
|
|
113
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
114
|
+
requirements:
|
|
115
|
+
- - ">="
|
|
116
|
+
- !ruby/object:Gem::Version
|
|
117
|
+
version: '0'
|
|
118
|
+
requirements: []
|
|
119
|
+
rubygems_version: 4.0.21
|
|
120
|
+
specification_version: 4
|
|
121
|
+
summary: Reviewable GitHub releases for Ruby gems.
|
|
122
|
+
test_files: []
|
metadata.gz.sig
ADDED