Author SHA1 Message Date
chrnx 6304ad7e24 ci: use the expression form for the tag ref, not the env var
CI / installer (macos-14) (pull_request) Successful in 3s
CI / check (pull_request) Successful in 27s
CI / starter (bun) (pull_request) Successful in 32s
CI / starter (deno) (pull_request) Successful in 31s
CI / starter (edge) (pull_request) Successful in 37s
CI / core-freshness (pull_request) Has been skipped
CI / installer (ubuntu-latest) (pull_request) Successful in 11s
CI / starter (node) (pull_request) Successful in 32s
promote.yml handed v26.8.0-beta.0 to GitHub with `${{ github.ref_name }}`, so
that form is proven on this act_runner. `$GITHUB_REF_NAME` is not — act_runner
0.2.13 may or may not export it, and the failure mode is silent in the worst
way: `git push github "refs/tags/"` with an empty name, a tag that never leaves
this forge, and a release that simply never happens on GitHub.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-09-05 17:37:16 -05:00
chrnx 483cc23dea ci: make this forge the gate it was meant to be, and stop pushing every tag
CI / installer (macos-14) (pull_request) Successful in 3s
CI / check (pull_request) Successful in 27s
CI / starter (bun) (pull_request) Successful in 30s
CI / starter (deno) (pull_request) Successful in 31s
CI / starter (edge) (pull_request) Successful in 36s
CI / starter (node) (pull_request) Successful in 32s
CI / core-freshness (pull_request) Has been skipped
CI / installer (ubuntu-latest) (pull_request) Successful in 10s
Two problems in one place, one of them latent since before this release.

`promote.yml` and `release.yml` both fired on the same `v*` tag push, so Gitea
started building and handed the tag to GitHub at the same moment — and the tag
arriving there is what starts GitHub's build and its crates.io publish. The local
build was therefore a parallel opinion rather than a check: by the time it could
have said no, the crate was already going out, and crates.io has no unpublish,
only yank. Tag promotion moves into `release.yml` behind `needs: build`, so the
sequence is what it was always described as — Gitea builds all four targets and
runs every artifact it can, and only then does GitHub hear about the tag.

`promote.yml` also ran `git push github --tags` on every push to `main`, which
has been failing every time. The tags diverged before this: `v26.7.0` points at
`371c5f7` here and `2a3dae9` there, and `v26.8.0-beta.0` is annotated here and
lightweight there — so the push is a non-fast-forward on refs that already exist.
`main` itself was pushed by the line above and always succeeded, so the job went
red while its actual work had already been done, which is the worst shape a CI
failure can take: permanent, and therefore ignored on the day it means something.
Dropped rather than forced, because reconciling the divergence rewrites what a
published tag points at — a decision, not a fix. New tags are unaffected; they go
through `release.yml` now.

Branched from `main` rather than `develop` so it is active for the v26.9.0-beta.0
tag, and so merging it back carries the release's version bump to `develop` with
it.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-09-05 17:32:30 -05:00
chrnx db27c35953 Merge pull request 'release: 26.9.0-beta.0' (#12) from release/26.9.0-beta.0 into main
CI / installer (macos-14) (push) Successful in 4s
CI / check (push) Successful in 28s
CI / starter (bun) (push) Successful in 30s
CI / starter (deno) (push) Successful in 33s
CI / starter (edge) (push) Successful in 37s
CI / core-freshness (push) Has been skipped
CI / installer (ubuntu-latest) (push) Successful in 10s
Promote → GitHub / push-github (push) Failing after 5s
CI / starter (node) (push) Successful in 35s
2026-09-05 22:25:10 +00:00
chrnx 82d6b809da chore(release): 26.9.0-beta.0
CI / installer (macos-14) (pull_request) Successful in 3s
CI / check (pull_request) Successful in 28s
CI / starter (bun) (pull_request) Successful in 32s
CI / starter (deno) (pull_request) Successful in 32s
CI / starter (edge) (pull_request) Successful in 37s
CI / core-freshness (pull_request) Has been skipped
CI / installer (ubuntu-latest) (pull_request) Successful in 12s
CI / starter (node) (pull_request) Successful in 32s
Closes the changelog section the merged work has been accumulating in and moves
the crate onto the version its scaffolds already pin core against.

Everything in it is a fix for something users hit today — a scaffold frozen on
26.7.0-beta.0 with no way forward, a bun template that never type-checked, a
published crate declaring MIT with no licence text, an installer that refused
Linux arm64 — and none of it reaches anyone until this ships.

Verified as the artifact rather than as the working tree: `cargo publish
--dry-run --locked` packages 56 files and compiles the *packaged* crate, which
is what proves `include_dir!` still finds `template/`. All 22 template files are
included, `template/runtimes/edge/.npmrc` among them — a dotfile cargo could
have dropped, and without it a `cargo install`ed matcha would scaffold edge
against npm instead of JSR and produce a project that cannot boot on workerd.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-09-05 17:12:58 -05:00
chrnx 0d96a085f9 Merge pull request 'The CLI catches up with the framework: graph/explain/openapi/doctor, an edge target, and a scaffold that is not two releases behind' (#11) from feature/template-freshness-and-graph into develop
CI / installer (macos-14) (push) Successful in 3s
CI / check (push) Successful in 28s
CI / starter (bun) (push) Successful in 30s
CI / starter (deno) (push) Successful in 33s
CI / starter (edge) (push) Successful in 36s
CI / core-freshness (push) Has been skipped
CI / installer (ubuntu-latest) (push) Successful in 11s
CI / starter (node) (push) Successful in 34s
Reviewed-on: #11
2026-09-05 22:07:04 +00:00
chrnx 3e76868811 Merge pull request 'release: promote install-path fixes to main (26.8.0-beta.0)' (#10) from develop into main
CI / check (push) Successful in 28s
Release / prepare (push) Successful in 2s
Release / publish-crate (push) Has been skipped
Promote → GitHub / push-github (push) Successful in 4s
Release / build (macos-14, aarch64-apple-darwin) (push) Successful in 25s
Release / build (macos-14, x86_64-apple-darwin) (push) Successful in 11s
Release / build (ubuntu-latest, x86_64-unknown-linux-musl) (push) Successful in 42s
Reviewed-on: #10
2026-08-07 22:12:04 +00:00
chrnx 1764aa764b Merge pull request 'release: crates.io OIDC → main' (#7) from develop into main
CI / check (push) Successful in 27s
Promote → GitHub / push-github (push) Successful in 6s
2026-07-18 20:18:40 +00:00
chrnx e5a1b7583a Merge pull request 'release: promote develop → main' (#5) from develop into main 2026-07-18 19:04:12 +00:00
chrnx 371c5f708f Merge pull request 'feat: Create command finished' (#3) from develop into main
Reviewed-on: #3
2026-07-13 00:24:45 +00:00
5 changed files with 50 additions and 13 deletions

No files matched your search

+18 -9
View File
@@ -1,10 +1,16 @@
name: Promote → GitHub
# Runs on GITEA ONLY. Mirrors only main + version tags to the public GitHub repo.
# Runs on GITEA ONLY. Mirrors `main` to the public GitHub repo.
#
# Tags are NOT promoted here. They are promoted by release.yml's `promote-tag`
# job, which waits for this forge's builds to pass first — pushing a tag is what
# starts GitHub's release and its crates.io publish, and crates.io cannot be
# unpublished, only yanked. Both workflows used to fire on the same tag push, so
# Gitea built and GitHub published at the same time and this forge was never the
# check it was meant to be.
on:
push:
branches: [main]
tags: ['v*']
jobs:
push-github:
@@ -14,14 +20,17 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Push main + tags to GitHub
- name: Push main to GitHub
env:
GH_TOKEN: ${{ secrets.GH_PROMOTE_TOKEN }}
run: |
git remote add github "https://x-access-token:${GH_TOKEN}@github.com/Expressive-Tea/matcha.git"
if [ "${{ github.ref_type }}" = "tag" ]; then
git push github "refs/tags/${{ github.ref_name }}"
else
git push github "HEAD:refs/heads/main"
git push github --tags
fi
# Deliberately not `--tags`. v26.7.0 points at a different commit on
# each forge and v26.8.0-beta.0 is annotated here and lightweight
# there, so pushing every tag is a non-fast-forward that fails — which
# it has been doing on every push to main, reddening a job whose real
# work (the line above) had already succeeded. Reconciling that
# divergence means rewriting what a published tag points at, which is
# a decision rather than a fix; new tags are unaffected and go through
# release.yml.
git push github "HEAD:refs/heads/main"
+28
View File
@@ -172,6 +172,34 @@ jobs:
"$PWD/.bin/matcha" --version
"$PWD/.bin/matcha" --help > /dev/null
# Gitea only: hand the tag to GitHub, but only once this forge has built all
# four targets and run every artifact it can.
#
# This is the gate. Pushing the tag is what starts GitHub's release and, with
# it, the crates.io publish — and crates.io has no unpublish, only yank. So the
# local build is not a parallel opinion, it is the thing that has to pass
# first. `needs: build` is what makes the two sequential; when both workflows
# fired on the same tag push they were not.
promote-tag:
needs: build
if: ${{ github.server_url != 'https://github.com' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Push the tag to GitHub
env:
GH_TOKEN: ${{ secrets.GH_PROMOTE_TOKEN }}
run: |
git remote add github "https://x-access-token:${GH_TOKEN}@github.com/Expressive-Tea/matcha.git"
# `${{ github.ref_name }}` rather than $GITHUB_REF_NAME: the expression
# is what promote.yml used to hand v26.8.0-beta.0 to GitHub, so it is
# proven on this act_runner. Whether the env var is exported here is
# not, and getting it wrong would push an empty ref and leave the tag
# on this forge alone.
git push github "refs/tags/${{ github.ref_name }}"
# crates.io = production only.
# crates.io = production only, via OIDC Trusted Publishing (no CARGO_TOKEN).
# Requires a trusted publisher configured on crates.io (Expressive-Tea/matcha, release.yml).
+2 -2
View File
@@ -9,7 +9,7 @@ green-tea's convention. **The CLI ships on its own version line**: `matcha` 26.8
mean `@green-tea/core` 26.8, and the two release independently. The core version a scaffold
is pinned to is `CORE_VERSION` in `src/template.rs`, and each entry below says when it moved.
## [Unreleased]
## [26.9.0-beta.0] - 2026-09-05
### Added
@@ -182,6 +182,6 @@ First tagged release. A single native binary, no JS runtime needed to install it
- **A `curl | sh` installer** with sha256 verification, and cross-platform binaries attached
to each release.
[Unreleased]: https://github.com/Expressive-Tea/matcha/compare/v26.8.0-beta.0...HEAD
[26.9.0-beta.0]: https://github.com/Expressive-Tea/matcha/compare/v26.8.0-beta.0...v26.9.0-beta.0
[26.8.0-beta.0]: https://github.com/Expressive-Tea/matcha/compare/v26.7.0...v26.8.0-beta.0
[26.7.0]: https://github.com/Expressive-Tea/matcha/releases/tag/v26.7.0
Generated
+1 -1
View File
@@ -254,7 +254,7 @@ checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53"
[[package]]
name = "matcha-cli"
version = "26.8.0-beta.0"
version = "26.9.0-beta.0"
dependencies = [
"assert_cmd",
"clap",
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "matcha-cli"
version = "26.8.0-beta.0"
version = "26.9.0-beta.0"
edition = "2021"
description = "The green-tea CLI: scaffold a project, generate controllers, steps and providers already wired into their module, and run with your runtime detected. One native binary, no JS runtime needed to install it."
license = "MIT"