Skip to content

Rollbacks on git operations does not happen on failed publish. #753

Open
@rocktimsaikia

Description

@rocktimsaikia

Description

Right now, if for any reasons the primary step "Publishing package" fails, the git operations done by the "Bumping version" step are not cleaned up/rolled back. Because of that on every publish failure, we have to manually reset the commit and delete the git tag created.

image

image

image

Environment

np - 10.0.7
Node.js - v20.15.1
npm - 10.7.0
Git - 2.34.1
OS - Pop!_OS 22.04 LTS x86_64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions