Skip to content

Commit 6994ee3

Browse files
authored
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
1 parent bc62078 commit 6994ee3

File tree

4 files changed

+14
-9
lines changed

4 files changed

+14
-9
lines changed

.github/.release-please-manifest.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "10.24.2"
3+
}

.github/release-please-config.json

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
3+
"packages": {
4+
".": {
5+
"release-type": "simple",
6+
"extra-files": ["lua/lazy/core/config.lua"]
7+
}
8+
}
9+
}

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ jobs:
5757
- uses: googleapis/release-please-action@v4
5858
id: release
5959
with:
60-
release-type: simple
61-
package-name: lazy.nvim
60+
config-file: .github/release-please-config.json
61+
manifest-file: .github/.release-please-manifest.json
6262
- uses: actions/checkout@v4
6363
- name: tag stable versions
6464
if: ${{ steps.release.outputs.release_created }}

release-please-config.json

-7
This file was deleted.

0 commit comments

Comments
 (0)