From 0e4ab0033c334e66f854b0d44f4e05d5036498ff Mon Sep 17 00:00:00 2001 From: Bastien Caudan Date: Thu, 28 May 2020 13:27:09 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20[changelog]=20ensure=20to=20retr?= =?UTF-8?q?ieve=20latest=20tags=20(#407)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/generate-changelog.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/generate-changelog.js b/scripts/generate-changelog.js index 62b7d1b913..cedb32a05e 100644 --- a/scripts/generate-changelog.js +++ b/scripts/generate-changelog.js @@ -61,6 +61,7 @@ async function getEmojisLegend() { } async function getChangesList() { + await executeCommand('git fetch --tags') const lastTagHash = await executeCommand('git rev-list --tags --max-count=1') const lastTagName = await executeCommand(`git describe --tags ${lastTagHash}`)