diff --git a/CHANGELOG.markdown b/CHANGELOG.markdown index f112e96..a906231 100644 --- a/CHANGELOG.markdown +++ b/CHANGELOG.markdown @@ -1,3 +1,7 @@ +## next + +* version number in footer now links to changelog instead of commit log + ## v1.5.3 Released 2019-07-11 diff --git a/app.py b/app.py index c306f73..d614f99 100644 --- a/app.py +++ b/app.py @@ -16,7 +16,7 @@ default_config = { "HTTPS": True, "SENTRY_CONFIG": {}, "REPO_URL": "https://github.com/codl/forget", - "COMMIT_URL": "https://github.com/codl/forget/commits/{hash}", + "CHANGELOG_URL": "https://github.com/codl/forget/blob/{hash}/CHANGELOG.markdown", "REDIS_URI": "redis://", } diff --git a/libforget/version.py b/libforget/version.py index 95f89ac..6e786fe 100644 --- a/libforget/version.py +++ b/libforget/version.py @@ -1,4 +1,4 @@ from app import app def url_for_version(ver): - return app.config['COMMIT_URL'].format(hash=ver['full-revisionid']) + return app.config['CHANGELOG_URL'].format(hash=ver['full-revisionid'])