Skip to content

Commit

Permalink
👷 [changelog] ensure to retrieve latest tags
Browse files Browse the repository at this point in the history
  • Loading branch information
bcaudan committed May 28, 2020
1 parent f873e69 commit a6bde34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/generate-changelog.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`)

Expand Down

0 comments on commit a6bde34

Please sign in to comment.