Skip to content

Bug: create_draft_release.sh creates changelog from first commit instead of last release #819

@tanweersalah

Description

@tanweersalah

When using the GitHub API to create a release with `"create_draft_release.sh", the auto-generated changelog includes changes from the first commit rather than just from the previous release tag.

Expected Behavior:
The changelog should only include commits made since the previous tag (e.g., v1.1.0v0.2.0).

Actual Behavior:
The changelog includes all commits since the first commit, (e.g., v0.0.1v0.2.0).


Possible Cause:
The API doesn't allow explicitly specifying the "previous tag", and if release metadata isn't available for the earlier tags (e.g., if releases weren’t created in the UI/API), GitHub defaults to the first commit in the repo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions