build: script fixes
* regex removed in hook since it was not working on windows. * fixed method for getting the script's path for windows. using this in setup and clean script. * fixed missing include in cmakelists
This commit is contained in:
@@ -71,7 +71,7 @@ function run_tests {
|
||||
}
|
||||
|
||||
#testing before commiting to a publish branch
|
||||
if [[ $BRANCH_NAME =~ ^_publish_.*_$ ]]
|
||||
if [[ ${BRANCH_NAME:0:9} == "_publish_" ]]
|
||||
then
|
||||
echo Try to publish
|
||||
echo Run builds and test
|
||||
|
||||
Reference in New Issue
Block a user