mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Revert "ci(other): improve structure and readability of auto-generated changelog"
This commit is contained in:
parent
f91164bfa7
commit
c2338902eb
36
.github/workflows/publish.yml
vendored
36
.github/workflows/publish.yml
vendored
@ -260,38 +260,10 @@ jobs:
|
|||||||
version: ${{ env.BUILD_VERSION }}
|
version: ${{ env.BUILD_VERSION }}
|
||||||
git_commit_sha: ${{ github.sha }}
|
git_commit_sha: ${{ github.sha }}
|
||||||
git_tag_prefix: "b"
|
git_tag_prefix: "b"
|
||||||
|
|
||||||
- name: Generate changelog
|
- name: Generate changelog
|
||||||
id: changelog
|
run: |
|
||||||
uses: mikepenz/release-changelog-builder-action@v4
|
yarn install
|
||||||
with:
|
yarn auto-changelog --latest-version ${{ env.VERSION }} --unreleased-only
|
||||||
configurationJson: |
|
|
||||||
{
|
|
||||||
"pr_template": "- ##{{NUMBER}} #{{TITLE}} #{{ASSIGNEES}}",
|
|
||||||
"categories": [
|
|
||||||
{
|
|
||||||
"title": "### 🚀 Features",
|
|
||||||
"labels": ["feat"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "### 🐛 Fixes",
|
|
||||||
"labels": ["fix"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "### 💬 Refactoring, Documentation & Other",
|
|
||||||
"labels": ["chore","ci","docs","refactor"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "### 📦 Build & Dependencies",
|
|
||||||
"labels": ["build","bump"]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"max_pull_requests": 1000,
|
|
||||||
"max_back_track_time_days": 1000
|
|
||||||
}
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
- name: package-version-to-git-release
|
- name: package-version-to-git-release
|
||||||
continue-on-error: true # Will fail if tag exists
|
continue-on-error: true # Will fail if tag exists
|
||||||
id: create_release
|
id: create_release
|
||||||
@ -301,7 +273,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
tag_name: ${{ env.VERSION }}
|
tag_name: ${{ env.VERSION }}
|
||||||
release_name: ${{ env.VERSION }}
|
release_name: ${{ env.VERSION }}
|
||||||
body: ${{steps.changelog.outputs.changelog}}
|
body_path: ./CHANGELOG.md
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user