mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-04 10:09:42 +00:00
Make update-trac-trac-urls add essentials
The update-trac-trac-urls script only commits the edited file.
This commit is contained in:
1 parent
6c6094afb7
commit
f7927009b3
1 file changed
+2
-1
@@ -2,5 +2,6 @@
|
||||
GIT_ROOT=/home/wiki/gitwiki
|
||||
mongo --quiet "mongodb://dbserver.internal.sapsailing.com:10201/winddb?replicaSet=archive" --eval 'db.TRACTRAC_CONFIGURATIONS.find({}, {TT_CONFIG_JSON_URL : 1}).toArray()' | grep -v ObjectId | jq -r '.[].TT_CONFIG_JSON_URL' | sort -u >"${GIT_ROOT}/configuration/tractrac-json-urls"
|
||||
cd "${GIT_ROOT}"
|
||||
git commit -m "Updated tractrac-json-urls" -a
|
||||
git add "${GIT_ROOT}/configuration/tractrac-json-urls"
|
||||
git commit -m "Updated tractrac-json-urls"
|
||||
git push
|
||||
Reference in new issue
Block a user