Skip to content

Automate Tag Creation on Successful Tests in Master #14

Description

@piraz

Implement a workflow that automatically creates a new version tag (e.g., v0.0.2) on the master branch whenever all tests pass successfully after a commit. The new tag should increment the patch version of the latest existing tag.

Tasks:

  • Create or update a CI workflow to trigger on push to master.
  • Check if all tests pass without errors.
  • Retrieve the latest tag (e.g., v0.0.1) and increment the patch version.
  • Create and push the new tag (e.g., v0.0.2) to the repository.

Acceptance Criteria:

  • A new tag is automatically created and pushed only if all tests pass on master.
  • The tag follows semantic versioning and increments the patch version.
  • No tag is created if tests fail.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions