Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
Update releases.yml
Browse files Browse the repository at this point in the history
Former-commit-id: 838d85e
  • Loading branch information
Nambers authored Jul 16, 2021
1 parent 2ab2dfa commit b9cd831
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ jobs:
- name: pack
run: zip -r ./cpp/include.zip ./cpp/include && zip -r ./cpp/MiraiCP_CPP.zip ./cpp
- name: get change log
run: "grep -n -i \"## v\" changelog.md | head -n2 | cut -d: -f1 >> line.tmp"
run: "grep -n -i \"## v\" CHANGELOG.md | head -n2 | cut -d: -f1 >> line.tmp"
- name: show
run: echo `cat line.tmp`
run: cat line.tmp
- name: get change log2
run: cat CHANGELOG.md | head -n $((`tail -n 1 line.tmp`-1)) | tail -n +`head -n 1 line.tmp` >> release.log
- name: Create Release
Expand Down

0 comments on commit b9cd831

Please sign in to comment.