Bump the version of iris-ecs, commit, tag, and push to trigger the publish workflow.
Steps
- •Read the current version from
packages/ecs/package.json - •Determine the new version from
$ARGUMENTS:- •
patch,minor,major— increment the corresponding semver segment - •
x.y.z— use the exact version provided - •If no argument, ask the user which bump type they want
- •
- •Update the
versionfield inpackages/ecs/package.json - •Stage, commit, tag, and push:
code
git add packages/ecs/package.json git commit -m "Release v<new-version>" git tag -a v<new-version> -m "v<new-version>" git push origin main --follow-tags
- •Confirm the tag was pushed and the publish workflow will be triggered