From a6bde343204f783cf296255ff97c30fc2f67b9fb Mon Sep 17 00:00:00 2001 From: Bastien Caudan Date: Thu, 28 May 2020 11:46:56 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20[changelog]=20ensure=20to=20retr?= =?UTF-8?q?ieve=20latest=20tags?= 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}`)