diff options
author | Florian Dold <florian.dold@gmail.com> | 2018-02-06 04:06:40 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2018-02-06 04:06:40 +0100 |
commit | c6d43b1274c044c275f8dbea343aff33593a7485 (patch) | |
tree | a258df7a7e2e95a62b0bdeaf7ea97b986c7527a7 /taler-docbuild/invalidate.sh | |
parent | 94c7476dc8dc7a343e036d0cfaf52514d5c08610 (diff) | |
download | deployment-c6d43b1274c044c275f8dbea343aff33593a7485.tar.gz deployment-c6d43b1274c044c275f8dbea343aff33593a7485.tar.bz2 deployment-c6d43b1274c044c275f8dbea343aff33593a7485.zip |
build docs the same way as blue/green
Diffstat (limited to 'taler-docbuild/invalidate.sh')
-rwxr-xr-x | taler-docbuild/invalidate.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/taler-docbuild/invalidate.sh b/taler-docbuild/invalidate.sh new file mode 100755 index 0000000..e094441 --- /dev/null +++ b/taler-docbuild/invalidate.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +set -eu +components="merchant exchange backoffice stage.taler.net www.taler.net api docs-landing" + +for component in $components ; do + cd $HOME/$component + git fetch + if git status -sb | grep behind; then + echo "invalidating $component" + rm -f $HOME/deployment/taler-docbuild/$component-stamp + fi +done |