What problem does it solve?
This Skill automates the process of publishing swamp extensions, ensuring all necessary checks are completed before the extension is pushed to the registry, thus streamlining the publishing process and reducing human error.
Core Features & Use Cases
- State Machine Workflow: A state machine with steps for verifying the repository, authentication, manifest validation, collective ownership, version bumping, formatting, and a dry run before the final push.
- Repository Initialization and Authentication: Verifies the extension directory is an initialized swamp repository and confirms the user is authenticated with the swamp registry.
- Manifest Validation: Ensures the
manifest.yaml is structurally valid and confirms the manifest collective matches the authenticated user.
- Versioning and Formatting: Handles version bumping and formatting the extension files for publishing.
- Dry Run: Validates the extension can be pushed without actually uploading.
- Final Push: Performs the final push after all prior states have passed and after explicit user confirmation.
- Use Case: Use this Skill to publish an extension to the swamp registry after thorough verification and testing.
Quick Start
Run the skill with the command 'swamp-extension-publish publish'.