From be9e6fa698a25ef35aab822f1787ddb62506006e Mon Sep 17 00:00:00 2001 From: dragonpilot Date: Mon, 14 Oct 2019 11:02:12 +1000 Subject: [PATCH] Display dp's changelog instead of dp's release notes --- selfdrive/updated.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/selfdrive/updated.py b/selfdrive/updated.py index d05a9a8fa..6cff5ee3a 100755 --- a/selfdrive/updated.py +++ b/selfdrive/updated.py @@ -42,7 +42,8 @@ def main(gctx=None): # Write latest release notes to param try: - r = subprocess.check_output(["git", "--no-pager", "show", "@{u}:RELEASES.md"]) + # r = subprocess.check_output(["git", "--no-pager", "show", "@{u}:RELEASES.md"]) + r = subprocess.check_output(["curl", "-s", "https://raw.githubusercontent.com/dragonpilot-community/dragonpilot/docs/CHANGELOG.md"]) r = r[:r.find(b'\n\n')] # Slice latest release notes params.put("ReleaseNotes", r + b"\n") except: