ci(release): simplify release-please setup (#4)

This commit is contained in:
2023-06-13 00:38:10 +01:00
committed by GitHub
parent 41f37e5726
commit 28b7ef837d
3 changed files with 5 additions and 10 deletions

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

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

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

@@ -0,0 +1,16 @@
{
"packages": {
".": {
"release-type": "simple",
"changelog-path": "CHANGELOG.md",
"bump-minor-pre-major": true,
"bump-patch-for-minor-pre-major": true,
"draft": false,
"prerelease": false,
"extra-files": [
"yank-indent.el"
]
}
},
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
}

View File

@@ -1,16 +1,11 @@
---
on: push
on:
push:
branches:
- main
jobs:
release-please:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
outputs:
release_created: ${{ steps.release-please.outputs.release_created }}
tag_name: ${{ steps.release-please.outputs.tag_name }} # e.g. v1.0.0
version: ${{ steps.release-please.outputs.version }} # e.g. 1.0.0
steps:
- uses: google-github-actions/release-please-action@v3
id: release-please
with:
command: manifest
- uses: jimeh/release-please-manifest-action@v1