Commit c0aa31a7 authored by echel0n's avatar echel0n

Added branch version checking for source installs

parent 79db85e8
# Changelog
- * 7a85b32 - 2019-01-12: Pre-Release v9.4.56.dev3
- * 33d0aa5 - 2019-01-12: Added branch version checking for source installs
- * 79db85e - 2019-01-12: Pre-Release v9.4.56.dev3
- * a26f1df - 2019-01-12: Building of DEV docker images now implemented
- * baf04a1 - 2019-01-12: Fixed issue with connecting to RARBG torrent provider
- * 831f077 - 2019-01-13: Update .gitlab-ci.yml
......
......@@ -580,10 +580,10 @@ class SourceUpdateManager(UpdateManager):
return False
def _check_for_new_version(self):
git_version_url = "https://git.sickrage.ca/SiCKRAGE/sickrage/raw/master/sickrage/version.txt"
git_version_url = "https://git.sickrage.ca/SiCKRAGE/sickrage/raw/{}/sickrage/version.txt"
try:
return WebSession().get(git_version_url).text
return WebSession().get(git_version_url.format(('master', 'develop')['dev' in self.version])).text
except Exception:
return self._find_installed_version()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment