feat: release_promote.php — promote releases between channels #153

Closed
opened 2026-05-26 17:12:21 +00:00 by jmiller · 1 comment
Owner

Summary

New CLI tool that promotes a Gitea release from one stability channel to another (e.g. development → RC, RC → stable). Handles renaming the release, tag, and assets in one operation.

Features

  • --from auto scans channels highest-first (beta > alpha > development)
  • Downloads assets, renames with correct suffix/prefix, re-uploads to new release
  • Detects Joomla extension type prefix for stable promotion (plg_system_, com_, etc.)
  • Deletes source release + tag, creates target release
  • Registered as release:promote in bin/moko

Usage

Files Changed

  • cli/release_promote.php (new)
  • bin/moko (registered command)
## Summary New CLI tool that promotes a Gitea release from one stability channel to another (e.g. development → RC, RC → stable). Handles renaming the release, tag, and assets in one operation. ## Features - `--from auto` scans channels highest-first (beta > alpha > development) - Downloads assets, renames with correct suffix/prefix, re-uploads to new release - Detects Joomla extension type prefix for stable promotion (`plg_system_`, `com_`, etc.) - Deletes source release + tag, creates target release - Registered as `release:promote` in `bin/moko` ## Usage ## Files Changed - `cli/release_promote.php` (new) - `bin/moko` (registered command)
jmiller added the phpci-cdbuild labels 2026-05-26 17:12:21 +00:00
Author
Owner

Branch created: feature/153-feat-release-promote-php-promote-release

git fetch origin
git checkout feature/153-feat-release-promote-php-promote-release
Branch created: [`feature/153-feat-release-promote-php-promote-release`](https://git.mokoconsulting.tech/MokoConsulting/moko-platform/src/branch/feature/153-feat-release-promote-php-promote-release) ```bash git fetch origin git checkout feature/153-feat-release-promote-php-promote-release ```
Sign in to join this conversation.
No labels build ci-cd php
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/moko-platform#153