chore(release): setup release-please for automatic release PR generation

This commit is contained in:
2022-12-04 23:39:56 +00:00
parent 044587fb4c
commit caeba6291d
4 changed files with 29 additions and 2 deletions

View File

@@ -140,3 +140,13 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
comment-on-alert: true
auto-push: true
release-please:
needs: [test]
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- uses: google-github-actions/release-please-action@v3
id: release-please
with:
command: manifest

View File

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

View File

@@ -1,7 +1,5 @@
# Changelog
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
## [1.1.0](https://github.com/jimeh/undent/compare/v1.0.2...v1.1.0) (2021-02-22)

View File

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