| name | release |
| description | Create a versioned release with notarization and GitHub release |
| disable-model-invocation | true |
| allowed-tools | Bash |
| argument-hint | <version> |
Release CCMissionControl
Create a release for version $ARGUMENTS.
Current tags:
!git tag -l | tail -5
Steps
- Validate: Confirm
$ARGUMENTS is a valid version (e.g. 0.1.0). Ensure working directory is clean.
- Update version: Set
MARKETING_VERSION in the Xcode project to $ARGUMENTS using sed on project.pbxproj.
- Commit:
git commit -am "Release $ARGUMENTS"
- Tag:
git tag $ARGUMENTS
- Push:
git push && git push origin $ARGUMENTS
- Notarize: Run
./scripts/notarize.sh
- Rename zip:
mv CCMissionControl.zip CCMissionControl-$ARGUMENTS.zip
- GitHub Release: Create a release with the notarized zip attached:
gh release create $ARGUMENTS CCMissionControl-$ARGUMENTS.zip --title "v$ARGUMENTS" --generate-notes
- Report the release URL to the user.