Add release-please

This commit is contained in:
koenkk
2023-05-22 16:41:31 +02:00
parent fb60deeebc
commit 97b14cc2d4
6 changed files with 40 additions and 3 deletions
+20
View File
@@ -0,0 +1,20 @@
on:
push:
branches:
- dev
permissions:
contents: write
pull-requests: write
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
with:
release-type: node
package-name: release-please-action
default-branch: master
+1 -1
View File
@@ -23,7 +23,7 @@ jobs:
- uses: peter-evans/create-pull-request@v5
id: cpr
with:
commit-message: Update zigbee2mqtt-frontend to ${{ github.event.client_payload.version }}
commit-message: "chore: update zigbee2mqtt-frontend to ${{ github.event.client_payload.version }}"
branch: "update_frontend"
title: Update zigbee-frontend to ${{ github.event.client_payload.version }}
- run: sleep 5 # Otherwise pull request may not exist yet causing automerge to fail
+1 -1
View File
@@ -23,7 +23,7 @@ jobs:
- uses: peter-evans/create-pull-request@v5
id: cpr
with:
commit-message: Update zigbee-herdsman to ${{ github.event.client_payload.version }}
commit-message: "chore: update zigbee-herdsman to ${{ github.event.client_payload.version }}"
branch: "update_zh"
title: Update zigbee-herdsman to ${{ github.event.client_payload.version }}
- run: sleep 5 # Otherwise pull request may not exist yet causing automerge to fail
+1 -1
View File
@@ -23,7 +23,7 @@ jobs:
- uses: peter-evans/create-pull-request@v5
id: cpr
with:
commit-message: Update zigbee-herdsman-converters to ${{ github.event.client_payload.version }}
commit-message: "chore: update zigbee-herdsman-converters to ${{ github.event.client_payload.version }}"
branch: "update_zhc"
title: Update zigbee-herdsman-converters to ${{ github.event.client_payload.version }}
- run: sleep 5 # Otherwise pull request may not exist yet causing automerge to fail
+4
View File
@@ -0,0 +1,4 @@
{
".": "0.0.0",
"bootstrap-sha": "b2dd21e164b457d5cd0c9d455cdb879d881c44bd"
}
+13
View File
@@ -0,0 +1,13 @@
{
"packages": {
".": {
"changelog-path": "CHANGELOG.md",
"release-type": "node",
"bump-minor-pre-major": false,
"bump-patch-for-minor-pre-major": false,
"draft": false,
"prerelease": false
}
},
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
}