Bump manufacturing-core-pkg in the host
Script paths below are relative to this skill's base directory. Host repo: ~/repository/enviaflores/ef-manufacturing. Package: enviaflores-legacy/manufacturing-core-pkg. Push to main = staging deploy. A host tag = prod: never create one here.
Steps
- Find the candidate tag. Use the GitHub API, not
git fetch(SSH to GitHub has hung mid-session):
Prints the 3 newest tags with date, the release notes of the newest one, the commits since the tag the host pins today, and whether any permission/config file changed.GH_TOKEN=$(gh auth token --user EdgardoAcostaEF) scripts/bump.sh --tags - Confirm with Edgardo (AskUserQuestion): "Bump host to
<newest tag>?" with the release notes summarised in one line per PR. If he named a version, offer that one first; if it is not the newest, say which is newer. This confirmation is the approval for the commit and the push; do not ask again afterwards. - Regenerate and apply:
The script checks outGH_TOKEN=$(gh auth token --user EdgardoAcostaEF) scripts/bump.sh vX.Y.Zmain(refuses if tracked files are modified), pulls fast-forward, rebuildscomposer.json/composer.lockfromHEADin a scratch dir (never from the working tree, which may be in dev path mode), restoresplugin-api-versionto the value onHEAD, and prints the diff. It refuses if any changed line is outside the core-pkg block and the content-hash. - Commit and push:
Commit messageGH_TOKEN=$(gh auth token --user EdgardoAcostaEF) scripts/bump.sh vX.Y.Z --commitBump manufacturing-core-pkg to vX.Y.Z, no co-author or attribution lines, onlycomposer.jsonandcomposer.lockstaged,git push origin main. - Report: commit sha, what the tag contains (PR list), new permissions if the tag added any (they go to the host
config/uxmaltech-auth-permissions.phpin a separate change, seemanufacturingskillreleases.md), and that staging deploys in about 10 minutes. The host has no/build-inforoute; verify by opening one of the changed screens on staging.
Rules
- Only
main, onlycomposer.json+composer.lock. Any other dirty tracked file blocks the run. - If the SSH
composer updatehangs or fails, do not hand-edit the lock; report it. ef-administrationgets the same bump only when asked.