Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/.release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "2.8.0"
}
27 changes: 27 additions & 0 deletions .github/release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"release-type": "php",
"include-component-in-tag": false,
"packages": {
".": {
"package-name": "plugin-woocommerce"
}
},
"extra-files": [
"lengow.php",
"README.md"
],
"changelog-sections": [
{
"type":"feat","section":"Features","hidden":false
},
{
"type":"fix","section":"Bug Fixes","hidden":false
},
{
"type":"refactor","section":"Refactoring","hidden":false
},
{
"type":"misc","section":"Miscellaneous","hidden":false
}
]
}
18 changes: 4 additions & 14 deletions .github/workflows/on-push-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,23 +46,13 @@ jobs:
- name: Check out repository
uses: actions/checkout@v4
- name: Release please
uses: google-github-actions/release-please-action@v3
uses: googleapis/release-please-action@v4
id: release-please
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: php
package-name: plugin-woocommerce
default-branch: main
changelog-types: |
[
{"type":"feat","section":"Features","hidden":false},
{"type":"fix","section":"Bug Fixes","hidden":false},
{"type":"refactor","section":"Refactoring","hidden":false},
{"type":"misc","section":"Miscellaneous","hidden":false}
]
extra-files: |
lengow.php
README.md
target-branch: main
config-file: .github/release-please-config.json
manifest-file: .github/.release-please-manifest.json
- name: Checkout appropriate branch
if: ${{ !startsWith(github.head_ref, 'release-please') }}
uses: actions/checkout@v4
Expand Down