Skip to content

Commit bc8d491

Browse files
Maimerclaude
andcommitted
ci: add Release Please and gem-releaser workflows for automated releases
BANK-1994 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 636a6da commit bc8d491

5 files changed

Lines changed: 95 additions & 0 deletions

File tree

.github/workflows/lint-commits.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Lint Commit Messages
2+
3+
on:
4+
pull_request:
5+
6+
permissions:
7+
contents: read
8+
packages: read
9+
10+
jobs:
11+
lint-commits:
12+
uses: appfolio/gem-releaser/.github/workflows/lint-commits.yml@v1
13+
secrets: inherit

.github/workflows/release.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Release Gem
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- master
8+
9+
permissions:
10+
contents: write
11+
pull-requests: write
12+
id-token: write
13+
14+
jobs:
15+
release-gem:
16+
uses: appfolio/gem-releaser/.github/workflows/release-rubygems.yml@v1

.release-please-manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "2.5.0"
3+
}

Rakefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ rescue Bundler::BundlerError => e
1010
exit e.status_code
1111
end
1212

13+
require 'bundler/gem_tasks'
14+
1315
require 'rspec/core/rake_task'
1416
require 'rake/extensiontask'
1517

release-please-config.json

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
"bootstrap-sha": "3be104a0fb8fea3bf17b272a6b5930dd19afdf2e",
3+
"packages": {
4+
".": {
5+
"changelog-path": "CHANGELOG.md",
6+
"version-file": "lib/ae_fast_decimal_formatter/version.rb",
7+
"release-type": "ruby",
8+
"bump-minor-pre-major": false,
9+
"bump-patch-for-minor-pre-major": false,
10+
"draft": false,
11+
"prerelease": false
12+
}
13+
},
14+
"changelog-sections": [
15+
{
16+
"type": "feat",
17+
"section": "Features"
18+
},
19+
{
20+
"type": "fix",
21+
"section": "Bug Fixes"
22+
},
23+
{
24+
"type": "perf",
25+
"section": "Performance Improvements"
26+
},
27+
{
28+
"type": "revert",
29+
"section": "Reverts"
30+
},
31+
{
32+
"type": "docs",
33+
"section": "Documentation"
34+
},
35+
{
36+
"type": "style",
37+
"section": "Styles"
38+
},
39+
{
40+
"type": "chore",
41+
"section": "Miscellaneous Chores"
42+
},
43+
{
44+
"type": "refactor",
45+
"section": "Code Refactoring"
46+
},
47+
{
48+
"type": "test",
49+
"section": "Tests"
50+
},
51+
{
52+
"type": "build",
53+
"section": "Build System"
54+
},
55+
{
56+
"type": "ci",
57+
"section": "Continuous Integration"
58+
}
59+
],
60+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
61+
}

0 commit comments

Comments
 (0)