release-drafter / release-drafter

Drafts your next release notes as pull requests are merged into master.
https://github.com/marketplace/actions/release-drafter
ISC License
3.4k stars 327 forks source link

Release Drafter picking up an old version from the repository #684

Closed yasoobz closed 2 years ago

yasoobz commented 4 years ago

Hi

Issue:

Whenever a PR is being merged into the target branch (dev), the Release Drafter action is creating the draft for an old version.

Currently we are at v1.27.0. So the next version should be v1.27.1.

However, release-drafter is picking up v1.3.66 as the last release, and therefore creating a draft with version v1.3.67. It is also adding all the PRs since that release in the draft (couple of hundred). As you can see in SS attached, the date being shown is 7th Feb 2020.

Wrong version being picked by RD:

Screenshot 2020-10-21 at 12 20 00 PM

Our setup:

Screenshot 2020-10-21 at 12 20 22 PM Screenshot 2020-10-21 at 12 20 38 PM

Please help in pointing me to the possible cause here.

mkurz commented 2 years ago

You might be interested in #656 (comment) and also #1061

jetersen commented 2 years ago

Not sure this is relevant anymore and is most likely fixed in newer versions.