Skip to content

Commit 2f17b1b

Browse files
ci: add release please (#15)
* Add release please configuration * Remove depot
1 parent afdd7cc commit 2f17b1b

File tree

5 files changed

+170
-0
lines changed

5 files changed

+170
-0
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 }}

.release-please-manifest.yml

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

CHANGELOG.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
<a id="v0.4.0"></a>
2+
# [v0.4.0](https://github.com/Flagsmith/flagsmith-rust-flag-engine/releases/tag/v0.4.0) - 2024-04-04
3+
4+
## What's Changed
5+
* feat: Add identity overrides to Environment model by [@khvn26](https://github.com/khvn26) in [#12](https://github.com/Flagsmith/flagsmith-rust-flag-engine/pull/12)
6+
7+
8+
**Full Changelog**: https://github.com/Flagsmith/flagsmith-rust-flag-engine/compare/v0.3.0...v0.4.0
9+
10+
[Changes][v0.4.0]
11+
12+
13+
<a id="v0.3.0"></a>
14+
# [v0.3.0](https://github.com/Flagsmith/flagsmith-rust-flag-engine/releases/tag/v0.3.0) - 2023-07-20
15+
16+
## What's Changed
17+
* feat: implement the `IN` operator by [@khvn26](https://github.com/khvn26) in [#9](https://github.com/Flagsmith/flagsmith-rust-flag-engine/pull/9)
18+
19+
## New Contributors
20+
* [@khvn26](https://github.com/khvn26) made their first contribution in [#9](https://github.com/Flagsmith/flagsmith-rust-flag-engine/pull/9)
21+
22+
**Full Changelog**: https://github.com/Flagsmith/flagsmith-rust-flag-engine/compare/v0.2.0...v0.3.0
23+
24+
[Changes][v0.3.0]
25+
26+
27+
<a id="v0.2.0"></a>
28+
# [v0.2.0](https://github.com/Flagsmith/flagsmith-rust-flag-engine/releases/tag/v0.2.0) - 2022-10-20
29+
30+
## What's Changed
31+
* feat(modulo): Add modulo operator by [@gagantrivedi](https://github.com/gagantrivedi) in [#6](https://github.com/Flagsmith/flagsmith-rust-flag-engine/pull/6)
32+
* feat(segment/operator): Add is_set and is_not_set by [@gagantrivedi](https://github.com/gagantrivedi) in [#7](https://github.com/Flagsmith/flagsmith-rust-flag-engine/pull/7)
33+
34+
35+
**Full Changelog**: https://github.com/Flagsmith/flagsmith-rust-flag-engine/compare/v0.1.1...v0.2.0
36+
37+
[Changes][v0.2.0]
38+
39+
40+
<a id="v0.1.1"></a>
41+
# [v0.1.1](https://github.com/Flagsmith/flagsmith-rust-flag-engine/releases/tag/v0.1.1) - 2022-05-27
42+
43+
## What's Changed
44+
* Implement flag engine v0.1.0 by [@gagantrivedi](https://github.com/gagantrivedi) in [#1](https://github.com/Flagsmith/flagsmith-rust-flag-engine/pull/1)
45+
* Chore/add metadata by [@gagantrivedi](https://github.com/gagantrivedi) in [#3](https://github.com/Flagsmith/flagsmith-rust-flag-engine/pull/3)
46+
* ci: Add workflow to publish package to cargo by [@gagantrivedi](https://github.com/gagantrivedi) in [#4](https://github.com/Flagsmith/flagsmith-rust-flag-engine/pull/4)
47+
* Release 0.1.1 by [@gagantrivedi](https://github.com/gagantrivedi) in [#5](https://github.com/Flagsmith/flagsmith-rust-flag-engine/pull/5)
48+
49+
50+
**Full Changelog**: https://github.com/Flagsmith/flagsmith-rust-flag-engine/commits/v0.1.1
51+
52+
[Changes][v0.1.1]
53+
54+
55+
[v0.4.0]: https://github.com/Flagsmith/flagsmith-rust-flag-engine/compare/v0.3.0...v0.4.0
56+
[v0.3.0]: https://github.com/Flagsmith/flagsmith-rust-flag-engine/compare/v0.2.0...v0.3.0
57+
[v0.2.0]: https://github.com/Flagsmith/flagsmith-rust-flag-engine/compare/v0.1.1...v0.2.0
58+
[v0.1.1]: https://github.com/Flagsmith/flagsmith-rust-flag-engine/tree/v0.1.1
59+
60+
<!-- 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": "afdd7cc5b01c5ccb99cf83f271f6de84bc701722",
3+
"packages": {
4+
".": {
5+
"release-type": "rust",
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)