mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
* feat(release): one-button release cut from main and ECR Public versioned publishing - New Release Cut workflow (workflow_dispatch, dry-run input): semantic-release bumps pom.xml, writes CHANGELOG.md, commits, tags, and creates the GitHub Release; the tag push fires release.yml unchanged. Requires a GH_TOKEN fine-grained PAT (contents:write) because tags pushed with the default GITHUB_TOKEN do not trigger workflows. - .releaserc.json: release from main only (release/x.y.x retired for now) - release.yml: push versioned + latest native and compat tags to ECR Public, mirroring nightly.yml (OIDC role, public.ecr.aws/floci/floci) — previously only nightlies reached ECR Public * fix(release): serialize release cuts and pin the release toolchain Address review findings on the Release Cut workflow: - concurrency group so overlapping dispatches queue instead of racing to push the same version/tag (no cancel-in-progress: a mid-flight release is never killed) - the semantic-release toolchain is now installed with npm ci --ignore-scripts from a committed manifest + lockfile (.github/release-tooling), so the job holding the contents:write PAT runs a reproducible, fully pinned dependency tree instead of resolving mutable version ranges at run time * fix(release): commit the pinned lockfile, SHA-pin actions, document queue semantics Replicates the review fixes that took the sibling OCI PR to a clean review: - the repo-wide package-lock.json ignore silently excluded the release toolchain's lockfile, so npm ci would fail on every dispatch; add a scoped gitignore exception and commit the lockfile - pin checkout/setup-java/setup-node to full commit SHAs — this workflow holds the contents:write GH_TOKEN PAT, so a repointed action tag must not be able to change the code it executes - document the concurrency group's last-dispatch-wins semantics (GitHub keeps one pending run per group; a superseded duplicate release cut is redundant by definition) * fix(release): pin the ECR publishing actions to full commit SHAs The OIDC-enabled job that assumes the public-image publishing role must not execute code selected by a repointable tag: configure-aws-credentials and amazon-ecr-login are now pinned to full commit SHAs (tags noted in comments), matching the SHA-pinned docker actions already in this workflow.
12 lines
363 B
JSON
12 lines
363 B
JSON
{
|
|
"name": "release-tooling",
|
|
"private": true,
|
|
"description": "Pinned semantic-release toolchain for the Release Cut workflow (npm ci only; not part of the emulator build)",
|
|
"devDependencies": {
|
|
"semantic-release": "24.2.9",
|
|
"@semantic-release/changelog": "7.0.0",
|
|
"@semantic-release/exec": "7.1.0",
|
|
"@semantic-release/git": "11.0.1"
|
|
}
|
|
}
|