Skip to content

Commit

Permalink
Use correct CHANGELOG URL in release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
mbacchi committed May 11, 2020
1 parent 75c765d commit 5e2e0d3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions script/lib/omaha.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def get_app_info(appinfo, args):
to perform the upload
"""

changelog_url = "https://github.com/brave/brave-browser/blob/master/CHANGELOG.md"
changelog_url = "https://github.com/brave/brave-browser/blob/master/CHANGELOG_DESKTOP.md"
chrome_major = get_chrome_version().split('.')[0]
chrome_minor = get_chrome_version().split('.')[1]

Expand Down Expand Up @@ -117,9 +117,7 @@ def get_app_info(appinfo, args):
appinfo['short_version'] = chrome_major + '.' + get_upload_version()
appinfo['version'] = str(adjusted_minor) + \
'.' + version_values[2]
appinfo['release_notes'] = 'Brave Browser version: {}\n\n<a href="{}">Brave Changelog</a>'\
.format(appinfo['version'] if appinfo['platform'] in 'win32' else appinfo['short_version'],
changelog_url)
appinfo['release_notes'] = 'Brave Browser Changelog: {}'.format(changelog_url)

return appinfo

Expand Down

0 comments on commit 5e2e0d3

Please sign in to comment.