Skip to content

Commit ce045b9

Browse files
committed
Auto generate latest changelog
1 parent 6f0b0d0 commit ce045b9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ jobs:
4343
- name: Get changelog, tag name, & release name
4444
id: variables
4545
run: |
46+
awk '/## Release/{if (p) exit; p=1} p' CHANGELOG.md > latest_changelog_with_title.md
47+
cat latest_changelog_with_title.md | tail -n +2 > latest_changelog.md
4648
VERSION=$(sed -nE "s/^__version__[[:space:]]*=[[:space:]]*['\"]([^'\"]+)['\"].*$/\1/p" xmipp3/version.py)
4749
RELEASE_NAME="Release ${VERSION}"
4850
echo "TAG_NAME=$VERSION" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)