post release info to #releases
authorTom Powell <tom@powell.io>
Mon, 29 Oct 2018 01:52:44 +0000 (18:52 -0700)
committerTom Powell <tom@powell.io>
Mon, 29 Oct 2018 01:52:44 +0000 (18:52 -0700)
ui/slack/webhook.py

index ae8014ced1bfa100498171bbc3f3c835d64a4b85..8403a616b0d7d43ea503edebf42ec0ff2f9788a7 100644 (file)
@@ -15,6 +15,7 @@ def post_build(status, device, version, btype, id_):
     version = version.split("-")[1]
     text = f"LineageOS {version} {state} {device} ({btype})"
     data = {
+        "channel": "#releases",
         "attachments": [
             {
                 "fallback": text,