mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-20 02:55:38 +08:00
fix: gen-changelog.yml
This commit is contained in:
5
.github/workflows/gen-changelog.yml
vendored
5
.github/workflows/gen-changelog.yml
vendored
@@ -27,7 +27,8 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
git switch dev
|
||||
git branch -f changelog dev
|
||||
git switch changelog
|
||||
python3 tools/ChangelogGenerator/changelog_generator.py --tag "${{ steps.extract_tag.outputs.tag_name }}"
|
||||
|
||||
- name: Add files to git
|
||||
@@ -40,8 +41,6 @@ jobs:
|
||||
|
||||
commit_msg="docs: Auto Generate Changelog of Release ""${{ steps.extract_tag.outputs.tag_name }}"
|
||||
git commit -m "$commit_msg"
|
||||
git branch -f changelog
|
||||
git switch changelog
|
||||
|
||||
- name: Push changes # push the output folder to your repo
|
||||
uses: ad-m/github-push-action@master
|
||||
|
||||
Reference in New Issue
Block a user