Compare commits

..

10 Commits

Author SHA1 Message Date
ca4e8e3cec Merge pull request 'checkout before' (#3) from release/test2 into main
Some checks failed
Create release / create-release (push) Failing after 7s
Reviewed-on: #3
2023-11-19 20:44:53 +00:00
9949393d7b
checkout before
Some checks failed
Prepare release for chill app / update-deps (push) Successful in 23s
Tag next release / tag_if_merged (pull_request) Failing after 21s
2023-11-19 21:44:11 +01:00
e0c8c16084 Merge pull request 'Fix expressions' (#2) from release/test2 into main
Reviewed-on: #2
2023-11-19 20:43:07 +00:00
3074dae15a
Fix expressions
Some checks failed
Prepare release for chill app / update-deps (push) Successful in 23s
Tag next release / tag_if_merged (pull_request) Failing after 7s
2023-11-19 21:42:17 +01:00
0b316b75c7 Merge pull request 'release/test2' (#1) from release/test2 into main
Reviewed-on: #1
2023-11-19 20:38:49 +00:00
ecdfc7445e
Workflow: tag and create release
Some checks failed
Prepare release for chill app / update-deps (push) Failing after 23s
Tag next release / tag_if_merged (pull_request) Failing after 0s
2023-11-19 21:36:10 +01:00
julienfastre
e50b764d85 update composer.lock and file (automatic update) 2023-11-19 20:08:44 +00:00
aa8c724262 prepare for realease
All checks were successful
Prepare release for chill app / update-deps (push) Successful in 28s
Signed-off-by: Julien Fastré <julienfastre@noreply.localhost>
2023-11-19 20:08:17 +00:00
julienfastre
bd8a95836c update composer.lock and file (automatic update) 2023-11-19 20:01:57 +00:00
e9f90640d3
Integrate changie and create a workflow for publishing app
All checks were successful
Prepare release for chill app / update-deps (push) Successful in 54s
2023-11-19 21:00:32 +01:00
8 changed files with 109 additions and 6 deletions

3
.changes/v0.1.0.md Normal file
View File

@ -0,0 +1,3 @@
## v0.1.0 - 2023-11-02
### Release
* Update dependencies. Chill-bundles upgraded from 2.9.2 to 2.9.2

3
.changes/v0.2.0.md Normal file
View File

@ -0,0 +1,3 @@
## v0.2.0 - 2023-11-19
### Release
* Update dependencies. Chill-bundles upgraded from 2.9.2 to 2.9.2

3
.changes/v0.3.0.md Normal file
View File

@ -0,0 +1,3 @@
## v0.3.0 - 2023-11-19
### Release
* Update dependencies. Chill-bundles upgraded from 2.9.2 to 2.12.1

View File

@ -1,3 +0,0 @@
## v1.0.0 - 2023-11-19
### Feature
* Integrate changie and automate release management

View File

@ -1,6 +1,9 @@
name: Create release name: Create release
run-name: Create release on tag run-name: Create release on tag
permissions:
contents: write
on: on:
push: push:
tags: tags:

View File

@ -0,0 +1,27 @@
name: Tag next release
run-name: Create a tag when PR is merged
on:
pull_request_target:
types:
- closed
branches:
- 'main'
jobs:
tag_if_merged:
if: github.event.pull_request.merged == true && startsWith(github.head_ref, 'release/')
runs-on: ubuntu-latest
steps:
- name: check out repository
uses: https://github.com/actions/checkout@v4
- name: changie latest
id: changie_latest
uses: https://github.com/miniscruff/changie-action@v2
with:
version: latest
args: 'latest'
- name: create a tag
uses: https://github.com/rickstaa/action-create-tag@v1
with:
tag: ${{ steps.changie_latest.outputs.output }}

View File

@ -0,0 +1,59 @@
name: Prepare release for chill app
run-name: Update composer.lock and dependencies for preparing a release
on:
push:
branches:
- 'release/**'
jobs:
update-deps:
runs-on: ubuntu-latest
steps:
- name: check out repository
uses: https://github.com/actions/checkout@v4
- name: get the previous chill version
# parse the composer.lock file using jq to get the chill version before the upgrade
id: chill-before
uses: https://github.com/sergeysova/jq-action@v2
with:
cmd: 'cat composer.lock | jq --raw-output ''.packages[] | select ( .name | contains ("chill-project/chill-bundles")) | .version'''
- name: run composer update to update composer.lock
uses: docker://gitea.champs-libres.be/chill-project/chill-skeleton-basic/base-image:latest
with:
# this is where we set the command to execute
args: composer update --no-install
- name: is composer.lock changed ?
id: composer-lock-changed
run: 'echo is_composer_lock_changed=$(git diff --name-only | grep "composer\.lock" | wc -l) >> $GITHUB_OUTPUT'
- name: get the new chill version
# parse the composer.lock file using jq to get the chill version after the upgrade
id: chill-after
uses: https://github.com/sergeysova/jq-action@v2
with:
cmd: 'cat composer.lock | jq --raw-output ''.packages[] | select ( .name | contains ("chill-project/chill-bundles")) | .version'''
- name: add a changie file for the upgrade
uses: https://github.com/miniscruff/changie-action@v2
if: ${{ steps.composer-lock-changed.outputs.is_composer_lock_changed == 1 }}
with:
version: latest
args: 'new --body "Update dependencies. Chill-bundles upgraded from ${{ steps.chill-before.outputs.value }} to ${{ steps.chill-after.outputs.value }}" --kind Release --custom "Issue=0"'
- name: changie batch
if: ${{ steps.composer-lock-changed.outputs.is_composer_lock_changed == 1 }}
uses: https://github.com/miniscruff/changie-action@v2
with:
version: latest
args: 'batch auto'
- name: changie merge
if: ${{ steps.composer-lock-changed.outputs.is_composer_lock_changed == 1 }}
uses: https://github.com/miniscruff/changie-action@v2
with:
version: latest
args: 'merge'
- name: commit changed files
if: ${{ steps.composer-lock-changed.outputs.is_composer_lock_changed == 1 }}
uses: https://github.com/stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "update composer.lock and file (automatic update)"
commit_user_name: Action Bot
commit_user_email: bot@chill.social

View File

@ -6,6 +6,14 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
and is generated by [Changie](https://github.com/miniscruff/changie). and is generated by [Changie](https://github.com/miniscruff/changie).
## v1.0.0 - 2023-11-19 ## v0.3.0 - 2023-11-19
### Feature ### Release
* Integrate changie and automate release management * Update dependencies. Chill-bundles upgraded from 2.9.2 to 2.12.1
## v0.2.0 - 2023-11-19
### Release
* Update dependencies. Chill-bundles upgraded from 2.9.2 to 2.9.2
## v0.1.0 - 2023-11-02
### Release
* Update dependencies. Chill-bundles upgraded from 2.9.2 to 2.9.2