Skip to content

Commit

Permalink
chore: Fixup release notes generator
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Oct 18, 2024
1 parent 0dcaef4 commit 758d918
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@ CHANGELOG.md: .version
$(GITCLIFF) -o $@ -t $(TAG)

decasify-%.md: CHANGELOG.md
$(SED) -e '/\.\.\.v$*/,/\.\.\.v/!d' $< | \
$(SED) -e '1,3d;N;$$!P;$$!D;$$d' > $@
$(SED) -e '/^## \[$*\]/,/^## \[/!d' $< | \
$(SED) -e '1,3d;N;$$!P;$$!D;$$d' | \
$(SED) -e '1s/^/Release v$*\n/' > $@

rockspecs: $(DEV_SPEC) $(DEV_SPEC_NVIM) $(REL_SPEC) $(REL_SPEC_NVIM)

Expand Down

0 comments on commit 758d918

Please sign in to comment.