Skip to content

[Bug]: AL-Go should throw an error or a warning if you create a release, which is older than the latest release #1627

@cegekaJG

Description

@cegekaJG

AL-Go version

6.3 (customized)

Describe the issue

A while ago, we had a typo in the tag parameter for the Create new release action, writing 32.9.0 instead of 23.9.0. From that point on forward, all future releases (whose major version number is still well below 32) have been using the tag 32.9.0 to compare with.
I've since deleted the faulty tag and its release, but it could be a problem for certain release strategies.

Expected behavior

When creating the changelog, AL Go should either use the latest tag or tag of the latest release. Alternatively, the workflow could look for the highest version below the version in the tag of the new release.
If it's necessary to use the highest tag version, the workflow should run into an error and inform the user.

Steps to reproduce

  • Enter a repository with AL Go
  • Create a new release with tag 32.9.0
  • Introduce some changes
  • Create a new release with tag 25.2.0
  • Introduce more changes
  • Create a new release with tag 25.2.1

At this point, both releases should use 32.9.0 to compare with.

Additional context (logs, screenshots, etc.)

The customized AL Go repository can be found here.

Additionally, I've attached the log of the Create new release workflow.

logs_36510432474.zip

Metadata

Metadata

Assignees

Labels

Fix ReadyFix ReadyShippedFeature is included in the latest versionbugSomething isn't working

Type

No type

Projects

Status

✅ Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions