ci(release): fix version bumping in extra-file (#1534)

* ci(release): fix version bumping in extra-file

Release Please's doc is either incorrect or they have a bug, but this
resolves the issue.

* ci(release): use manifest file
This commit is contained in:
Ben Elan 2024-06-22 21:59:54 -07:00 committed by GitHub
parent bc62078366
commit 6994ee3751
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 14 additions and 9 deletions

3
.github/.release-please-manifest.json vendored Normal file
View File

@ -0,0 +1,3 @@
{
".": "10.24.2"
}

9
.github/release-please-config.json vendored Normal file
View File

@ -0,0 +1,9 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"packages": {
".": {
"release-type": "simple",
"extra-files": ["lua/lazy/core/config.lua"]
}
}
}

View File

@ -57,8 +57,8 @@ jobs:
- uses: googleapis/release-please-action@v4 - uses: googleapis/release-please-action@v4
id: release id: release
with: with:
release-type: simple config-file: .github/release-please-config.json
package-name: lazy.nvim manifest-file: .github/.release-please-manifest.json
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: tag stable versions - name: tag stable versions
if: ${{ steps.release.outputs.release_created }} if: ${{ steps.release.outputs.release_created }}

View File

@ -1,7 +0,0 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"release-type": "simple",
"extra-files": [
"lua/lazy/core/config.lua"
]
}