mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-30 17:37:25 +02:00
ci: use built-in github release notes generator (#4754)
This commit is contained in:
parent
59bd8b3dfa
commit
eb729a53f8
2 changed files with 28 additions and 28 deletions
28
.github/release.yaml
vendored
Normal file
28
.github/release.yaml
vendored
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
changelog:
|
||||||
|
exclude:
|
||||||
|
labels:
|
||||||
|
- ci
|
||||||
|
- ignore-changelog
|
||||||
|
categories:
|
||||||
|
- title: Breaking
|
||||||
|
labels:
|
||||||
|
- breaking
|
||||||
|
- title: Security
|
||||||
|
labels:
|
||||||
|
- security
|
||||||
|
- title: New
|
||||||
|
labels:
|
||||||
|
- enhancement
|
||||||
|
- feature
|
||||||
|
- title: Fixes
|
||||||
|
labels:
|
||||||
|
- bug
|
||||||
|
- title: Changed
|
||||||
|
labels:
|
||||||
|
- "*"
|
||||||
|
exclude:
|
||||||
|
labels:
|
||||||
|
- dependencies
|
||||||
|
- title: Dependency Updates
|
||||||
|
labels:
|
||||||
|
- dependencies
|
|
@ -1,28 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
SINCE=$1
|
|
||||||
RELEASE=$2
|
|
||||||
BRANCH="${3:-$(git branch --show-current)}"
|
|
||||||
OUTFILE="${4:-changelog.out}"
|
|
||||||
|
|
||||||
docker run --rm=true -it -v "$(pwd)":/usr/local/src/your-app -v "pomerium-changelog-cache:/cache" ferrarimarco/github-changelog-generator \
|
|
||||||
--user pomerium --project pomerium \
|
|
||||||
-o "${OUTFILE}" \
|
|
||||||
--no-issues \
|
|
||||||
--max-issues 500 \
|
|
||||||
--usernames-as-github-logins \
|
|
||||||
--release-branch "${BRANCH}" \
|
|
||||||
--future-release "${RELEASE}" \
|
|
||||||
--since-tag "${SINCE}" \
|
|
||||||
--token "${GITHUB_TOKEN}" \
|
|
||||||
--breaking-label "## Breaking" \
|
|
||||||
--enhancement-label "## New" \
|
|
||||||
--bugs-label "## Fixed" \
|
|
||||||
--pr-label "## Changed" \
|
|
||||||
--deprecated-label "## Deprecated" \
|
|
||||||
--removed-label "## Removed" \
|
|
||||||
--security-label "## Security" \
|
|
||||||
--cache-file /cache \
|
|
||||||
--enhancement-labels "improvement,Improvement,enhancement,Enhancement,feature" \
|
|
||||||
--exclude-labels "docs,ci" \
|
|
||||||
--add-sections '{"documentation":{"prefix":"## Documentation","labels":["docs"]}, "dependency":{"prefix":"## Dependency","labels":["dependency","dependencies"]}, "deployment":{"prefix":"## Deployment","labels":["deployment"]}}'
|
|
Loading…
Add table
Add a link
Reference in a new issue