From 358070cb15f5837ba72d4183ad10dd1d9069f4d5 Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Mon, 3 Sep 2018 17:09:10 +0200
Subject: [PATCH] fix: releases cache on prev and next

---
 lib/workers/pr/changelog/source-github.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/workers/pr/changelog/source-github.js b/lib/workers/pr/changelog/source-github.js
index 23fc1a8996..22017e5d75 100644
--- a/lib/workers/pr/changelog/source-github.js
+++ b/lib/workers/pr/changelog/source-github.js
@@ -144,7 +144,7 @@ async function getChangeLogJSON({
         const cacheMinutes = 30;
         await renovateCache.set(
           cacheNamespace,
-          getCacheKey(next.version),
+          getCacheKey(prev.version, next.version),
           release,
           cacheMinutes
         );
-- 
GitLab