2017-11-26 20:48:26 +01:00
|
|
|
#!/usr/bin/python2.7
|
2017-08-26 15:01:31 +02:00
|
|
|
import os
|
2017-11-26 20:48:26 +01:00
|
|
|
import glob
|
|
|
|
from publish_apps import main as publish_apps
|
|
|
|
from publish_branches import main as publish_branches
|
2017-08-26 15:01:31 +02:00
|
|
|
|
2017-11-26 20:48:26 +01:00
|
|
|
def main():
|
|
|
|
for link in glob.glob("../www/integration/*.svg"):
|
|
|
|
os.unlink(link);
|
|
|
|
os.symlink("%s/badges/unknown.svg" % os.getcwd(),
|
|
|
|
"../www/integration/unknown.svg")
|
2017-08-26 15:01:31 +02:00
|
|
|
|
2017-11-26 20:48:26 +01:00
|
|
|
publish_branches()
|
|
|
|
publish_apps()
|
2017-08-26 15:01:31 +02:00
|
|
|
|
|
|
|
if __name__ == '__main__':
|
2017-11-26 20:48:26 +01:00
|
|
|
main()
|
2017-08-26 15:01:31 +02:00
|
|
|
|