forked from mirror/redis
Merge pull request #1895 from go-redis/fix/conv-commits
chore: use conventional commits and auto-generate changelog
This commit is contained in:
commit
c575887613
|
@ -0,0 +1,11 @@
|
|||
name: Lint Commit Messages
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
commitlint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: wagoid/commitlint-github-action@v4
|
|
@ -12,4 +12,6 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: ncipollo/release-action@v1
|
||||
with:
|
||||
body: Check CHANGELOG.md for details
|
||||
body:
|
||||
Please refer to
|
||||
[CHANGELOG.md](https://github.com/go-redis/redis/blob/master/CHANGELOG.md) for details
|
||||
|
|
|
@ -1,8 +1,3 @@
|
|||
# Changelog
|
||||
|
||||
> :heart:
|
||||
> [**Uptrace.dev** - All-in-one tool to optimize performance and monitor errors & logs](https://uptrace.dev)
|
||||
|
||||
## v8.11
|
||||
|
||||
- Remove OpenTelemetry metrics.
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"name": "redis",
|
||||
"version": "0.0.0",
|
||||
"main": "index.js",
|
||||
"repository": "git@github.com:go-redis/redis.git",
|
||||
"author": "Vladimir Mihailenco <vladimir.webdev@gmail.com>",
|
||||
"license": "BSD-2-clause"
|
||||
}
|
|
@ -58,6 +58,9 @@ do
|
|||
done
|
||||
|
||||
sed --in-place "s/\(return \)\"[^\"]*\"/\1\"${TAG#v}\"/" ./version.go
|
||||
sed --in-place "s/\(\"version\": \)\"[^\"]*\"/\1\"${TAG#v}\"/" ./package.json
|
||||
|
||||
conventional-changelog -p angular -i CHANGELOG.md -s
|
||||
|
||||
git checkout -b release/${TAG} master
|
||||
git add -u
|
||||
|
|
Loading…
Reference in New Issue