Release
Overview
Create a release for osc8wrap.
Workflow
- •
Check version: If user did not specify a version, use AskUserQuestion to ask
- •
Check existing versions: Run
git tag --sort=-v:refname | head -5to get recent tags and validate:- •Follows semantic versioning (vX.Y.Z)
- •Specified version is greater than the latest
- •Version increment is reasonable (e.g., v1.0.0 → v1.0.1 or v1.1.0 or v2.0.0)
- •
Confirm inconsistencies: If version seems inconsistent (e.g., v1.0.0 → v3.0.0), ask user to confirm
- •
Execute release:
bashmake release VERSION=vX.Y.Z
Notes
- •Version must have
vprefix (e.g., v1.0.0) - •Semantic versioning: MAJOR.MINOR.PATCH