Compare commits

..

No commits in common. "v1.0.11" and "main" have entirely different histories.

3 changed files with 7 additions and 43 deletions

View File

@ -22,9 +22,7 @@ jobs:
echo "Current version: ${{ github.ref_name }}"
wget -O /usr/bin/changelog https://gitea.com/gitea/changelog/releases/download/v1.0.0/changelog-1.0.0-linux-amd64
chmod +x /usr/bin/changelog
changelog_output=$(changelog generate -m=${{ github.ref_name }} -c=./changelog.yaml)
echo "$changelog_output"
echo "::set-output name=changelog::$changelog_output"
changelog -m=${{ github.ref_name }} -c=./changelog.yaml
# 创建 Gitea Release
- name: Create Gitea Release
@ -38,7 +36,7 @@ jobs:
"tag_name": "'"${{ github.ref_name }}"'",
"target_commitish": "main",
"name": "'"$TAG_NAME"'",
"body": "'"${{ steps.generate_changelog.outputs.changelog }}"'",
"body": "'"waiting..."'",
"draft": false,
"prerelease": false
}'

View File

@ -1,64 +1,30 @@
# The full repository name
repo: bot/yukilog
# Service type (gitea or github)
service: gitea
# Base URL for Gitea instance if using gitea service type (optional)
# Default: https://gitea.com
base-url: https://git.liteyuki.icu
# Changelog groups and which labeled PRs to add to each group
groups:
-
name: BREAKING
labels:
- pr/breaking
-
name: FEATURES
labels:
- type/feature
-
name: API
labels:
- modifies/api
- feature
-
name: BUGFIXES
labels:
- type/bug
- bug
-
name: ENHANCEMENTS
labels:
- type/enhancement
- type/refactoring
- topic/ui
- topic/ui-interaction
- performance/speed
-
name: SECURITY
labels:
- topic/security
-
name: TESTING
labels:
- type/testing
-
name: TRANSLATION
labels:
- modifies/translation
- enhancement
-
name: BUILD
labels:
- topic/build
- topic/code-linting
-
name: DOCS
labels:
- type/docs
- modifies/docs
- build
-
name: MISC
default: true
# regex indicating which labels to skip for the changelog
skip-labels: skip-changelog|backport\/.+
skip-labels: skip-changelog