Skip to content

Commit 00af3ae

Browse files
committed
ci: update release-please
1 parent 0b1432c commit 00af3ae

File tree

3 files changed

+18
-17
lines changed

3 files changed

+18
-17
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -30,25 +30,11 @@ jobs:
3030
release_created: ${{ steps.release.outputs.release_created }}
3131
tag_name: ${{ steps.release.outputs.tag_name }}
3232
steps:
33-
- uses: google-github-actions/release-please-action@v3
33+
- uses: google-github-actions/release-please-action@v4
3434
id: release
35-
with:
36-
release-type: elixir
37-
package-name: next_ls
38-
bump-minor-pre-major: true
39-
extra-files: |
40-
flake.nix
41-
draft:
42-
needs: release
43-
if: ${{ needs.release.outputs.release_created }}
44-
runs-on: ubuntu-latest
45-
env:
46-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47-
steps:
48-
- run: gh release edit ${{ needs.release.outputs.tag_name }} --draft=true --repo='elixir-tools/next-ls'
4935

5036
build:
51-
needs: [release, draft]
37+
needs: [release]
5238
runs-on: macos-14
5339
if: ${{ needs.release.outputs.release_created }}
5440
env:
@@ -81,7 +67,7 @@ jobs:
8167

8268
nix-build:
8369
name: build nix flakes and push to cachix
84-
needs: [release, draft]
70+
needs: [release]
8571
strategy:
8672
matrix:
8773
os: [ubuntu-latest, macos-13, macos-14]

.release-please-manifest.json

Whitespace-only changes.

release-please-config.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
3+
"packages": {
4+
".": {
5+
"package-name": "next_ls",
6+
"release-type": "elixir",
7+
"bump-minor-pre-major": true,
8+
"include-component-in-tag": false,
9+
"draft": true,
10+
"extra-files": [
11+
"flake.nix"
12+
]
13+
}
14+
}
15+
}

0 commit comments

Comments
 (0)