Skip to content

Commit

Permalink
Fix release version grep
Browse files Browse the repository at this point in the history
(cherry picked from commit 594e36f)
  • Loading branch information
vanosg committed Oct 14, 2024
1 parent 8f75852 commit 9c0d256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/releaseprep
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ show_usage() {

regenerate_changelog() {

EGGVERSION=$(grep AC_INIT configure.ac| sed -e 's/AC_INIT(\[Eggdrop\],\[//g' -e 's/\],\[[email protected]\].*//g')
EGGVERSION=$(grep AC_INIT configure.ac | sed -e 's/AC_INIT([^,]*,\[//' -e 's/\].*$//')
EGG_RC=$(grep '^#define EGG_PATCH.*' src/version.h |cut -d " " -f 3|awk '{print tolower($0)}'|sed -e 's/^"//' -e 's/"$//')
if ! [ $(echo $EGG_RC|grep ^rc) ]; then
EGG_RC=""
Expand Down

0 comments on commit 9c0d256

Please sign in to comment.