Skip to content

Commit cbdb1c9

Browse files
committed
Merge branch 'develop' into fix/introduce-system-condition
2 parents d12f1cc + 0c8f71e commit cbdb1c9

File tree

248 files changed

+33404
-20373
lines changed

Some content is hidden

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

248 files changed

+33404
-20373
lines changed

.github/FUNDING.yml

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

.github/release-drafter.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11
categories:
2-
- title: "Breaking Changes"
3-
labels:
4-
- "BC-break"
5-
- title: "Major Features"
2+
- title: "Major features"
63
labels:
74
- "MAJOR"
8-
- title: "Documentation enhancements"
5+
- title: "Breaking changes"
96
labels:
10-
- "Documentation :books:"
11-
template: |
12-
## What’s Changed
13-
14-
$CHANGES
7+
- "BC-break"
8+
- title: "Other changes"
9+
template: $CHANGES
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Build changelog
2+
3+
on:
4+
push:
5+
branches:
6+
- develop
7+
8+
jobs:
9+
update_release_draft:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Run Release Drafter
13+
uses: release-drafter/release-drafter@v5
14+
env:
15+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Build release
2+
3+
on:
4+
push:
5+
branches:
6+
- 'release/*'
7+
8+
jobs:
9+
autocommit:
10+
name: Build Release
11+
runs-on: ubuntu-latest
12+
container:
13+
image: ghcr.io/mvorisek/image-php:latest
14+
steps:
15+
- uses: actions/checkout@v3
16+
with:
17+
ref: ${{ github.ref }}
18+
19+
- name: Install PHP dependencies
20+
run: composer update --ansi --prefer-dist --no-interaction --no-progress --optimize-autoloader
21+
22+
- name: Update composer.json
23+
run: >-
24+
composer config --unset version && php -r '
25+
$f = __DIR__ . "/composer.json";
26+
$data = json_decode(file_get_contents($f), true);
27+
foreach ($data as $k => $v) {
28+
if (preg_match("~^(.+)-release$~", $k, $matches)) {
29+
$data[$matches[1]] = $data[$k]; unset($data[$k]);
30+
}
31+
}
32+
$str = json_encode($data, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE) . "\n";
33+
echo $str;
34+
file_put_contents($f, $str);
35+
'
36+
37+
- name: Commit
38+
run: |
39+
git config --global user.name "$(git show -s --format='%an')"
40+
git config --global user.email "$(git show -s --format='%ae')"
41+
git add . -N && (git diff --exit-code || git commit -a -m "Branch for stable release")
42+
43+
- name: Push
44+
uses: ad-m/github-push-action@master
45+
with:
46+
branch: ${{ github.ref }}
47+
github_token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/bundler.yml

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

.github/workflows/release-drafter.yml

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

0 commit comments

Comments
 (0)