45 | @@ -47,10 +46,24 @@ script: |
46 | #
47 | tar xzf miniupnpc-1.6.tar.gz
48 | cd miniupnpc-1.6
49 | - sed 's/dllwrap -k --driver-name gcc/$(DLLWRAP) -k --driver-name $(CC)/' -i Makefile.mingw
50 | - sed 's|wingenminiupnpcstrings $< $@|./wingenminiupnpcstrings $< $@|' -i Makefile.mingw
51 | + # Note: Please be sure to update the MINIUPNPC_VERSION_STRING to match the version when this library is updated.
The need for manual intervention here could be avoided by using cat VERSION.
That's what the linux build does (see updateminiupnpcstrings.sh). Then there would be no accidents when bumping.
Good catch @theuni, the less manual intervention needed the less ways to screw up.