Skip to content

Commit

Permalink
Fix regex for Windows installer version
Browse files Browse the repository at this point in the history
  • Loading branch information
nickg committed Apr 7, 2024
1 parent e9d8f0d commit a2d80f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/msi/Makemodule.am
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ installer.wxs: $(srcdir)/contrib/msi/installer.wxs.in
seq=$$(echo $$tag | cut -d- -f2); \
case $(PACKAGE_VERSION) in \
*-devel) prefix=$$(echo $$tag | sed 's/r\([0-9]*\.[0-9]*\).*/\1.9/');; \
*) prefix=$$(echo $$tag | sed 's/r\(.*\)-.*/\1/');; \
*) prefix=$$(echo $$tag | sed 's/r\(.*\)-.*-.*/\1/');; \
esac; \
vers=$$prefix$$(printf "%03d" $$seq); \
echo $$vers; \
Expand Down

0 comments on commit a2d80f7

Please sign in to comment.