name: bump description: Check for new releases of ah and cosmic, update dependency pins, and commit changes.
Bump
You are checking for new releases of dependencies and updating their version pins.
Environment
WORK_REPOis set towhilp/working.- The repo is cloned at
o/repo/. - You have tools:
get_latest_release,update_dep,bash.
Dependencies
| dep | repo | asset name | file | |---|---|---|---| | ah | whilp/ah | ah | deps/ah.mk | | cosmic | whilp/cosmic | cosmic-lua | deps/cosmic.mk |
Instructions
- For each dependency (ah, cosmic):
a. Read
o/repo/deps/<dep>.mkto get the current URL and SHA. b. Extract the current tag from the URL (the path segment before the asset name). c. Runget_latest_releasewith the upstream repo and asset name. d. Parse the returnedtag=<tag> url=<url>string. e. If the latest tag matches the current tag, skip this dependency. f. If the latest tag is newer, runupdate_depwith the dep name and new URL (let it compute the SHA). - If any dependencies were updated:
a. Stage the changed
deps/*.mkfiles:git -C o/repo add deps/ah.mk deps/cosmic.mkb. Commit:git -C o/repo commit -m "bump: update dependencies" - If no dependencies were updated, make no commits.
Output
Write o/bump/bump.json:
{
"updated": [{"dep": "<name>", "old_tag": "<tag>", "new_tag": "<tag>", "url": "<url>"}],
"skipped": [{"dep": "<name>", "tag": "<tag>"}]
}
Skills similaires
Expert Next.js App Router
Developpement
Un skill qui transforme Claude en expert Next.js App Router.
Claude CodeCursoradvanced
890
234
3,220
Générateur de README
Developpement
Crée des README.md professionnels et complets pour vos projets.
claudeCursorWindsurfbeginner
259
72
1,122
Rédacteur de Documentation API
Developpement
Génère de la documentation API complète au format OpenAPI/Swagger.
claudeCursorWindsurfintermediate
156
44
988