Skip to content

Possible to tag the last commit rather than generate a new commit? #907

@JeffersonBledsoe

Description

@JeffersonBledsoe

Using GitHub actions, I'd like to be able to create a preRelease version every merge into my project's main branch by tagging whatever the previous commit was with a certain version. In theory, I should be able to do something like this to achieve that : npx release-it --preRelease --ci --git.commitMessage="" --git.commitArgs="--amend -C HEAD", however release-it currently seems to always configure a message commit even if I specify an empty message. Is it possible to be able to tag the previous commit version with release-it currently?

Came across release-it recently and it's been great!

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