Set up the filters required to ignore local dev config.

This commit is contained in:
Robert Marshall 2020-04-04 13:16:50 +01:00
parent a375a4356a
commit 03fb0b58fd
5 changed files with 16 additions and 1 deletions

7
clean-config.sh Normal file
View file

@ -0,0 +1,7 @@
#!/bin/sh
sed \
-e 's/"database": "Server=.*;User ID=.*;Password=.*;Database=.*"/"database": "Server=localhost;User ID=user;Password=pass;Database=db"/g' \
-e 's/"gitDomain": ".*"/"gitDomain": ""/g' \
-e 's/"gitToken": ".*"/"gitToken": ""/g' \
$1