ddd-composer-update-version

Bump composer.json versions, commit, and create git tags for Packagist releases.

3|Updated Feb 12, 2024
One-click install
npx skills add https://github.com/mgamadeus/ddd --skill ddd-composer-update-version
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ddd-composer-update-version
Source: https://github.com/mgamadeus/ddd/tree/main/.claude/skills/ddd-composer-update-version
Command: npx skills add https://github.com/mgamadeus/ddd --skill ddd-composer-update-version

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Bumps the version in composer.json, commits the change, pushes to the remote, and creates a git tag to trigger Packagist releases.

Core Features & Use Cases

  • Automates version bumps across a repository with multiple packages
  • Ensures tag names match composer.json versions for Packagist
  • Supports non-linear release workflows and monorepos

Quick Start

Run the release script to bump the version, commit, push, and tag the release.

Frequently Asked Questions about ddd-composer-update-version

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate composer version bumps and git tag releases for Packagist?

To automate composer version bumps, this Skill updates the composer.json version, commits the change, and creates a git tag to trigger Packagist updates. It handles the complete release workflow from version increment to repository tagging.

Can I use this composer versioning workflow in a monorepo?

Yes, you can use this composer versioning workflow in a monorepo. It automates version bumps across a repository with multiple packages and supports non-linear release workflows for core packages and modules.

What do I need to trigger Packagist updates with a git tag?

To trigger Packagist updates with a git tag, you need a clean working tree, access to push to the repository, and a CI pipeline to publish the tag to Packagist. The tag name must match the composer.json version.

Why does my composer release tag fail to update Packagist?

Your composer release tag fails to update Packagist if tag names do not match the composer.json versions. Ensuring tag names match the composer.json versions is required for successful Packagist releases and updates.

What is the best way to manage composer versioning across multiple packages?

The best way to manage composer versioning across multiple packages is automating the bump, commit, push, and tag sequence. This ensures consistent tag names matching composer.json versions to reliably trigger Packagist releases.