backstage/community-plugins

๐Ÿ› git-release-manager: Can't promote RC

Opened this issue ยท 0 comments

Plugin Name

@backstage/plugin-git-release-manager

๐Ÿ“œ Description

Can't promote Release Candidate with semantic versioning when i have created a second version with the plugin.

๐Ÿ‘ Expected behavior

Release Candidate is promoted, branch with correct name is created and a release is created

๐Ÿ‘Ž Actual Behavior with Screenshots

The problem is seen in the picture.
image

๐Ÿ‘Ÿ Reproduction steps

  1. Create a semver RC
  2. Promote the RC
  3. Create another minor or major RC
  4. Can't promote the RC (no option)

๐Ÿ“ƒ Provide the context for the Bug.

One can't set the pre-release as latest release when multiple releases exist. This code has a logic flaw:

The promoteRC should fetch all RC releases and user should be able to chose which RC should be promoted.

๐Ÿ‘€ Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

Are you willing to submit PR?

No, but I'm happy to collaborate on a PR with someone else