Skip to content

Commit b656eaf

Browse files
ci: add release please (#42)
* Add release please * Add conventional commit validation workflow * use ubuntu-latest * Add CHANGELOG.md
1 parent 725f9c8 commit b656eaf

File tree

6 files changed

+214
-1
lines changed

6 files changed

+214
-1
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Conventional Commit
2+
3+
on:
4+
pull_request:
5+
types:
6+
- edited
7+
- opened
8+
9+
jobs:
10+
conventional-commit:
11+
name: Conventional Commit
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Check PR Conventional Commit title
15+
uses: amannn/action-semantic-pull-request@v5
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
with:
19+
types: | # mirrors changelog-sections in the /release-please-config.json
20+
feat
21+
fix
22+
infra
23+
ci
24+
docs
25+
deps
26+
perf
27+
refactor
28+
test
29+
chore
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Update release PR
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
12+
jobs:
13+
release-please:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: googleapis/release-please-action@v4
17+
with:
18+
token: ${{ secrets.RELEASE_PLEASE_GITHUB_TOKEN }}

.github/workflows/test_format_dialyze.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
build:
1111

1212
name: Build and test
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-latest
1414

1515
steps:
1616
- name: Checkout

.release-please-manifest.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{".": "2.2.1"}

CHANGELOG.md

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
<a id="v2.2.1"></a>
2+
# [v2.2.1](https://github.com/Flagsmith/flagsmith-elixir-client/releases/tag/v2.2.1) - 2025-03-03
3+
4+
## What's Changed
5+
* ci: update actions by [@matthewelwell](https://github.com/matthewelwell) in [#40](https://github.com/Flagsmith/flagsmith-elixir-client/pull/40)
6+
* docs: fix config argument name by [@matthewelwell](https://github.com/matthewelwell) in [#39](https://github.com/Flagsmith/flagsmith-elixir-client/pull/39)
7+
* Bump version 2.2.1 by [@matthewelwell](https://github.com/matthewelwell) in [#41](https://github.com/Flagsmith/flagsmith-elixir-client/pull/41)
8+
9+
10+
**Full Changelog**: https://github.com/Flagsmith/flagsmith-elixir-client/compare/v2.2.0...v2.2.1
11+
12+
[Changes][v2.2.1]
13+
14+
15+
<a id="v2.2.0"></a>
16+
# [Version 2.2.0 (v2.2.0)](https://github.com/Flagsmith/flagsmith-elixir-client/releases/tag/v2.2.0) - 2024-10-22
17+
18+
## What's Changed
19+
* feat: Support transient identities and traits by [@khvn26](https://github.com/khvn26) in [#36](https://github.com/Flagsmith/flagsmith-elixir-client/pull/36)
20+
21+
22+
**Full Changelog**: https://github.com/Flagsmith/flagsmith-elixir-client/compare/v2.1.0...v2.2.0
23+
24+
[Changes][v2.2.0]
25+
26+
27+
<a id="v2.1.0"></a>
28+
# [Version 2.1.0 (v2.1.0)](https://github.com/Flagsmith/flagsmith-elixir-client/releases/tag/v2.1.0) - 2024-04-09
29+
30+
## What's Changed
31+
* feat: Identity overrides in local evaluation mode by [@khvn26](https://github.com/khvn26) in [#34](https://github.com/Flagsmith/flagsmith-elixir-client/pull/34)
32+
33+
34+
**Full Changelog**: https://github.com/Flagsmith/flagsmith-elixir-client/compare/v2.0.0...v2.1.0
35+
36+
[Changes][v2.1.0]
37+
38+
39+
<a id="v2.0.0"></a>
40+
# [Version 2.0.0 (v2.0.0)](https://github.com/Flagsmith/flagsmith-elixir-client/releases/tag/v2.0.0) - 2023-07-24
41+
42+
## What's Changed
43+
* Ensure that percentage split evaluations are consistent by [@matthewelwell](https://github.com/matthewelwell) in [#29](https://github.com/Flagsmith/flagsmith-elixir-client/pull/29)
44+
* QoL updates by [@matthewelwell](https://github.com/matthewelwell) in [#30](https://github.com/Flagsmith/flagsmith-elixir-client/pull/30)
45+
* fix tests according to https://github.com/Flagsmith/flagsmith-elixir-… by [@mnussbaumer](https://github.com/mnussbaumer) in [#32](https://github.com/Flagsmith/flagsmith-elixir-client/pull/32)
46+
* feat: support `IN` operator for local evaluation by [@khvn26](https://github.com/khvn26) in [#33](https://github.com/Flagsmith/flagsmith-elixir-client/pull/33)
47+
48+
**Full Changelog**: https://github.com/Flagsmith/flagsmith-elixir-client/compare/v1.1.1...v2.0.0
49+
50+
[Changes][v2.0.0]
51+
52+
53+
<a id="v1.1.1"></a>
54+
# [Version 1.1.1 (v1.1.1)](https://github.com/Flagsmith/flagsmith-elixir-client/releases/tag/v1.1.1) - 2023-06-06
55+
56+
## What's Changed
57+
* Update actions and get publish working by [@matthewelwell](https://github.com/matthewelwell) in [#22](https://github.com/Flagsmith/flagsmith-elixir-client/pull/22)
58+
* fix: bump setup-beam to v1.15.4 by [@khvn26](https://github.com/khvn26) in [#26](https://github.com/Flagsmith/flagsmith-elixir-client/pull/26)
59+
* Change ecto_sql dependency declaration by [@elephantoss](https://github.com/elephantoss) in [#24](https://github.com/Flagsmith/flagsmith-elixir-client/pull/24)
60+
61+
## New Contributors
62+
* [@khvn26](https://github.com/khvn26) made their first contribution in [#26](https://github.com/Flagsmith/flagsmith-elixir-client/pull/26)
63+
* [@elephantoss](https://github.com/elephantoss) made their first contribution in [#24](https://github.com/Flagsmith/flagsmith-elixir-client/pull/24)
64+
65+
**Full Changelog**: https://github.com/Flagsmith/flagsmith-elixir-client/compare/v1.1.0...v1.1.1
66+
67+
[Changes][v1.1.1]
68+
69+
70+
<a id="v1.1.0"></a>
71+
# [Version 1.1.0 (v1.1.0)](https://github.com/Flagsmith/flagsmith-elixir-client/releases/tag/v1.1.0) - 2022-11-01
72+
73+
## What's Changed
74+
* Add deploy workflow by [@matthewelwell](https://github.com/matthewelwell) in [#18](https://github.com/Flagsmith/flagsmith-elixir-client/pull/18)
75+
* Issues 1145 403 811 by [@mnussbaumer](https://github.com/mnussbaumer) in [#21](https://github.com/Flagsmith/flagsmith-elixir-client/pull/21)
76+
* Release 1.1.0 by [@matthewelwell](https://github.com/matthewelwell) in [#19](https://github.com/Flagsmith/flagsmith-elixir-client/pull/19)
77+
78+
79+
**Full Changelog**: https://github.com/Flagsmith/flagsmith-elixir-client/compare/v1.0.1...v1.1.0
80+
81+
[Changes][v1.1.0]
82+
83+
84+
<a id="v1.0.1"></a>
85+
# [Version 1.0.1 (v1.0.1)](https://github.com/Flagsmith/flagsmith-elixir-client/releases/tag/v1.0.1) - 2022-07-13
86+
87+
## What's Changed
88+
* Run tests on PRs to release branches by [@matthewelwell](https://github.com/matthewelwell) in [#17](https://github.com/Flagsmith/flagsmith-elixir-client/pull/17)
89+
* Use feature name instead of id by [@matthewelwell](https://github.com/matthewelwell) in [#16](https://github.com/Flagsmith/flagsmith-elixir-client/pull/16)
90+
* Release 1.0.1 by [@matthewelwell](https://github.com/matthewelwell) in [#15](https://github.com/Flagsmith/flagsmith-elixir-client/pull/15)
91+
92+
[Changes][v1.0.1]
93+
94+
95+
[v2.2.1]: https://github.com/Flagsmith/flagsmith-elixir-client/compare/v2.2.0...v2.2.1
96+
[v2.2.0]: https://github.com/Flagsmith/flagsmith-elixir-client/compare/v2.1.0...v2.2.0
97+
[v2.1.0]: https://github.com/Flagsmith/flagsmith-elixir-client/compare/v2.0.0...v2.1.0
98+
[v2.0.0]: https://github.com/Flagsmith/flagsmith-elixir-client/compare/v1.1.1...v2.0.0
99+
[v1.1.1]: https://github.com/Flagsmith/flagsmith-elixir-client/compare/v1.1.0...v1.1.1
100+
[v1.1.0]: https://github.com/Flagsmith/flagsmith-elixir-client/compare/v1.0.1...v1.1.0
101+
[v1.0.1]: https://github.com/Flagsmith/flagsmith-elixir-client/tree/v1.0.1
102+
103+
<!-- Generated by https://github.com/rhysd/changelog-from-release v3.9.0 -->

release-please-config.json

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"bootstrap-sha": "725f9c853bd968ed3b9b620b53021dd59d09a7d9",
3+
"packages": {
4+
".": {
5+
"release-type": "elixir",
6+
"changelog-path": "CHANGELOG.md",
7+
"bump-minor-pre-major": false,
8+
"bump-patch-for-minor-pre-major": false,
9+
"draft": false,
10+
"prerelease": false,
11+
"include-component-in-tag": false
12+
}
13+
},
14+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
15+
"changelog-sections": [
16+
{
17+
"type": "feat",
18+
"hidden": false,
19+
"section": "Features"
20+
},
21+
{
22+
"type": "fix",
23+
"hidden": false,
24+
"section": "Bug Fixes"
25+
},
26+
{
27+
"type": "ci",
28+
"hidden": false,
29+
"section": "CI"
30+
},
31+
{
32+
"type": "docs",
33+
"hidden": false,
34+
"section": "Docs"
35+
},
36+
{
37+
"type": "deps",
38+
"hidden": false,
39+
"section": "Dependency Updates"
40+
},
41+
{
42+
"type": "perf",
43+
"hidden": false,
44+
"section": "Performance Improvements"
45+
},
46+
{
47+
"type": "refactor",
48+
"hidden": false,
49+
"section": "Refactoring"
50+
},
51+
{
52+
"type": "test",
53+
"hidden": false,
54+
"section": "Tests"
55+
},
56+
{
57+
"type": "chore",
58+
"hidden": false,
59+
"section": "Other"
60+
}
61+
]
62+
}

0 commit comments

Comments
 (0)