Skip to content

Commit 06092eb

Browse files
Merge branch 'main' into issue-4158
2 parents b1a497d + d2502c7 commit 06092eb

File tree

113 files changed

+4744
-924
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+4744
-924
lines changed

.github/workflows/lock-versions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
description: 'List of branches to lock versions (ordered, comma separated)'
77
required: true
88
# 7.17 was intentionally skipped because it was added late and was bug fix only
9-
default: '8.10,8.11,8.12,8.13,8.14,8.15'
9+
default: '8.11,8.12,8.13,8.14,8.15,8.16'
1010

1111
jobs:
1212
pr:

.github/workflows/version-code-and-release.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,29 @@ jobs:
6464
fi
6565
fi
6666
67-
release_drafter:
67+
tag_and_draft_release:
6868
if: github.event.pull_request.merged == true
6969
runs-on: ubuntu-latest
7070
permissions:
7171
contents: write
7272
steps:
7373
- name: Checkout repository
7474
uses: actions/checkout@v4
75+
with:
76+
fetch-depth: 0
77+
78+
- name: Set github config
79+
run: |
80+
git config --global user.email "[email protected]"
81+
git config --global user.name "protectionsmachine"
82+
83+
- name: Extract version from pyproject.toml and create tag
84+
id: extract_version
85+
run: |
86+
version=$(grep '^version = ' pyproject.toml | cut -d '"' -f2)
87+
echo "Detected version: $version"
88+
git tag -a "dev-v$version" -m "Release version $version"
89+
git push origin "dev-v$version"
7590
7691
- name: Run Release Drafter
7792
uses: release-drafter/release-drafter@v6

0 commit comments

Comments
 (0)