Skip to content

Commit 1fab8ee

Browse files
authored
Merge branch 'main' into issue-1090-merge-allof
2 parents b6d9d0a + 5f7c9a5 commit 1fab8ee

File tree

8 files changed

+44
-130
lines changed

8 files changed

+44
-130
lines changed

.github/workflows/preview_release_pr.yml

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

.github/workflows/release-dry-run.yml

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

.github/workflows/release.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,15 @@ on:
77

88
jobs:
99
release:
10-
if: github.head_ref == 'release' && github.event.pull_request.merged == true
10+
if: github.head_ref == 'knope/release' && github.event.pull_request.merged == true
1111
runs-on: ubuntu-latest
1212
permissions:
1313
id-token: write
1414
steps:
1515
- uses: actions/[email protected]
16-
with:
17-
fetch-depth: 0
18-
token: ${{ secrets.PAT }}
19-
- name: Install Knope
20-
uses: knope-dev/[email protected]
21-
with:
22-
version: 0.17.0
2316
- name: Install Hatchling
2417
run: pip install --upgrade hatchling
2518
- name: Build
2619
run: hatchling build
2720
- name: Push to PyPI
2821
uses: pypa/[email protected]
29-
- name: Create GitHub Release
30-
run: knope release
31-
env:
32-
GITHUB_TOKEN: ${{ secrets.PAT }}

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ Programmatic usage of this project (e.g., importing it as a Python module) and t
1313

1414
The 0.x prefix used in versions for this project is to indicate that breaking changes are expected frequently (several times a year). Breaking changes will increment the minor number, all other changes will increment the patch number. You can track the progress toward 1.0 [here](https://github.com/openapi-generators/openapi-python-client/projects/2).
1515

16+
## 0.21.3 (2024-08-18)
17+
18+
### Features
19+
20+
- update Ruff to >=0.2,<0.7 (#1097)
21+
1622
## 0.21.2 (2024-07-20)
1723

1824
### Features

integration-tests/pdm.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

knope.toml

Lines changed: 3 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -2,49 +2,9 @@
22
versioned_files = ["pyproject.toml"]
33
changelog = "CHANGELOG.md"
44

5-
[[workflows]]
6-
name = "prepare-release"
7-
8-
[[workflows.steps]]
9-
type = "Command"
10-
shell = true
11-
command = "git switch -c release"
12-
13-
[[workflows.steps]]
14-
type = "PrepareRelease"
15-
16-
[[workflows.steps]]
17-
type = "Command"
18-
shell = true
19-
command = "git commit -m \"chore: prepare release $version\" && git push --force --set-upstream origin release"
20-
21-
[workflows.steps.variables]
22-
"$version" = "Version"
23-
24-
[[workflows.steps]]
25-
type = "CreatePullRequest"
26-
base = "main"
27-
28-
[workflows.steps.title]
29-
template = "chore: prepare release $version"
30-
variables = { "$version" = "Version" }
31-
32-
[workflows.steps.body]
33-
template = "This PR was created by Knope. Merging it will create a new release\n\n$changelog"
34-
variables = { "$changelog" = "ChangelogEntry" }
35-
36-
[[workflows]]
37-
name = "release"
38-
39-
[[workflows.steps]]
40-
type = "Release"
41-
42-
[[workflows]]
43-
name = "document-change"
44-
45-
[[workflows.steps]]
46-
type = "CreateChangeFile"
47-
485
[github]
496
owner = "openapi-generators"
507
repo = "openapi-python-client"
8+
9+
[bot.releases]
10+
enabled = true

pdm.lock

Lines changed: 29 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ dependencies = [
1414
"python-dateutil>=2.8.1,<3.0.0",
1515
"httpx>=0.20.0,<0.28.0",
1616
"ruamel.yaml>=0.18.6,<0.19.0",
17-
"ruff>=0.2,<0.6",
17+
"ruff>=0.2,<0.7",
1818
"typing-extensions>=4.8.0,<5.0.0",
1919
]
2020
name = "openapi-python-client"
21-
version = "0.21.2"
21+
version = "0.21.3"
2222
description = "Generate modern Python clients from OpenAPI"
2323
keywords = [
2424
"OpenAPI",

0 commit comments

Comments
 (0)