Skip to content

Commit

Permalink
Makefile: Fix generating RPM log during bumpver
Browse files Browse the repository at this point in the history
We stopped using the release version in tags in 07352e9 so we
need to use the correct tag when getting log for RPM changelog.
  • Loading branch information
vojtechtrefny committed Nov 7, 2024
1 parent d971d3a commit 8cca667
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ tag:

rpmlog:
@cl=`grep -n %changelog dist/libblockdev.spec.in |cut -d : -f 1 |head -1` ; \
version_release=`tail --lines=+$$(($$cl + 1)) dist/libblockdev.spec.in|head -1|cut -d- -f2-3|sed 's/ //g'` ; \
git log --no-merges --pretty="format:- %s (%ae)" "$$version_release.." |sed -e 's/@.*)/)/' ; \
version=`tail --lines=+$$(($$cl + 1)) dist/libblockdev.spec.in|head -1|cut -d- -f2|sed 's/ //g'` ; \
git log --no-merges --pretty="format:- %s (%ae)" "$$version.." |sed -e 's/@.*)/)/' ; \
echo

shortlog:
Expand Down

0 comments on commit 8cca667

Please sign in to comment.