Improve release note generation script
The script can now be run from outside of the directory it is contained in.
This commit is contained in:
parent
1b0b32cbe8
commit
c8d4052aec
@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd $(dirname $(realpath $0))
|
||||
|
||||
major="`cd ../../ && cmake -P ./VERSION.cmake -L|grep 'MAXSCALE_VERSION_MAJOR'|sed 's/.*=//'`"
|
||||
minor="`cd ../../ && cmake -P ./VERSION.cmake -L|grep 'MAXSCALE_VERSION_MINOR'|sed 's/.*=//'`"
|
||||
patch="`cd ../../ && cmake -P ./VERSION.cmake -L|grep 'MAXSCALE_VERSION_PATCH'|sed 's/.*=//'`"
|
||||
|
Loading…
x
Reference in New Issue
Block a user