Skip to content

Add standard release.yml workflow #114

Description

@jeanmachuca

Summary

Add a release.yml workflow to this repo matching the standard pipeline defined in the main issue:

Main issue: QCObjects/qcobjects-cli#15 — Standard release.yml workflow for all 5 packages

What to add

.github/workflows/release.yml with the following behavior:

  • Triggered by workflow_dispatch with bump input (patch/minor/major)
  • Reads VERSION file, bumps the version component, writes it back
  • Runs npm version to sync package.json and create an annotated tag
  • Pushes commit + tag
  • The tag push triggers the existing npmpublish.yml to publish to npm

See the main issue for the full workflow draft.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions