Skip to content

Improve deploy assumptions when creating tags #152

Description

@sebastientaggart

The Code Cannon /deploy skill assumes make bump-X will create a tag and pushes git push --tags afterward. When the bump silently fails to create the tag, git push --tags is a no-op and the deploy continues into the release-PR step with the wrong (or missing) tag.

A defensive improvement to the skill: after running the bump command, capture the expected new version (e.g. by re-reading package.json) and run git tag -l "v" to confirm the tag exists. If it doesn't, abort with a clear error pointing at the project's bump target. This catches Makefile bugs in any project that uses Code Cannon, not just this one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-qaIssue is ready to be QA tested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions