Read-only mirror of github.com/smbcloudXYZ/smbcloud-ascapi.
Mirrored from https://github.com/smbcloudXYZ/smbcloud-ascapi.git
Synced Nov 25, 09:15 UTC
Publish appgallery and msstore from the crate release workflow
release-crates.yml stopped at frontend, whose dependencies on the two new crates would not be on crates.io yet. Add both after play, before frontend, and to the lower-crate solo build loop. CI now also checks that appgallery and msstore build alone. The release skill's tag lists and crate counts move from nine to eleven so no tag is left on the pre-amend commit. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Seto Elkahfi committed
Nov 3, 2026 at 15:59 UTC
37a5c1636c0311dae9799199c7927c9ac4afb0e7
3 files changed
+18
-10
.agents/skills/ascapi-release/SKILL.md
+11
-8
@@ -88,8 +88,8 @@ cargo workspaces version custom 0.3.0 \
88
- `--force '*'` bumps every crate to the shared version even if cargo-workspaces
89
thinks some are unchanged (single-version workspace).
90
91
-This creates the `Release X.Y.Z` commit, the `vX.Y.Z` tag, and **9 per-crate
92
-tags** `smbcloud-ascapi-{aso,cli,core,frontend,mcp,play,pricing,reports,signing}@X.Y.Z`,
91
+This creates the `Release X.Y.Z` commit, the `vX.Y.Z` tag, and **11 per-crate
92
+tags** `smbcloud-ascapi-{appgallery,aso,cli,core,frontend,mcp,msstore,play,pricing,reports,signing}@X.Y.Z`,
93
all pointing at the Release commit.
94
95
## Step 3 — sync `server.json`
@@ -109,9 +109,11 @@ git add server.json
109
git commit --amend --no-edit
110
NEW=$(git rev-parse HEAD)
111
for t in \
112
- smbcloud-ascapi-aso@X.Y.Z smbcloud-ascapi-cli@X.Y.Z \
112
+ smbcloud-ascapi-appgallery@X.Y.Z smbcloud-ascapi-aso@X.Y.Z \
113
+ smbcloud-ascapi-cli@X.Y.Z \
114
smbcloud-ascapi-core@X.Y.Z smbcloud-ascapi-frontend@X.Y.Z \
114
- smbcloud-ascapi-mcp@X.Y.Z smbcloud-ascapi-play@X.Y.Z \
115
+ smbcloud-ascapi-mcp@X.Y.Z smbcloud-ascapi-msstore@X.Y.Z \
116
+ smbcloud-ascapi-play@X.Y.Z \
117
smbcloud-ascapi-pricing@X.Y.Z \
118
smbcloud-ascapi-reports@X.Y.Z smbcloud-ascapi-signing@X.Y.Z \
119
vX.Y.Z; do
@@ -124,7 +126,7 @@ changes the hash again. After all amends settle, re-point the tags to the final
126
HEAD and verify they all land on one commit:
127
128
```sh
127
-git tag --points-at HEAD # must list all 10 tags
129
+git tag --points-at HEAD # must list all 12 tags
130
git log -1 --format='sig=%G? key=%GK' # must be sig=G key=2B76DF0F04014E36
131
```
132
@@ -157,9 +159,10 @@ they don't start extra runs. Three jobs run in order:
159
1. **`verify`** fails the run if the tag differs from the workspace version in
160
`Cargo.toml`, then runs `cargo fmt --check`, clippy with `-D warnings`,
161
`cargo test --workspace --locked`, and `cargo check` on `core`, `aso`,
160
- `pricing`, `signing`, `reports` and `play` on their own.
162
+ `pricing`, `signing`, `reports`, `play`, `appgallery` and `msstore` on their own.
163
2. **`publish`** (environment `crates-io`) publishes `core`, `aso`, `pricing`,
162
- `signing`, `reports`, `play`, `frontend`, `mcp`, `cli`, in that order, with
164
+ `signing`, `reports`, `play`, `appgallery`, `msstore`, `frontend`, `mcp`, `cli`, in that
165
+ order, with
166
`cargo publish -p <crate> --locked`. Authentication is crates.io trusted
167
publishing: the job exchanges its GitHub OIDC token through
168
`rust-lang/crates-io-auth-action`, so there is no registry token secret.
@@ -181,7 +184,7 @@ gh run watch <run-id>
184
185
### One-time setup it depends on
186
184
-- Each of the nine crates has a trusted publisher on crates.io for repository
187
+- Each of the eleven crates has a trusted publisher on crates.io for repository
188
`smbcloudXYZ/smbcloud-ascapi` and workflow `release-crates.yml`. If a crate
189
is missing one, `cargo publish` fails for that crate and the later crates are
190
not published. Add the publisher and re-run.
.github/workflows/ci.yml
+2
@@ -73,6 +73,8 @@ jobs:
73
cargo check --package smbcloud-ascapi-aso --locked
74
cargo check --package smbcloud-ascapi-signing --locked
75
cargo check --package smbcloud-ascapi-play --locked
76
+ cargo check --package smbcloud-ascapi-appgallery --locked
77
+ cargo check --package smbcloud-ascapi-msstore --locked
78
79
- name: Build docs
80
# Intra-doc links are load-bearing in this crate: the certificate
.github/workflows/release-crates.yml
+5
-2
@@ -92,7 +92,7 @@ jobs:
92
- name: Check the lower crates build alone
93
shell: bash
94
run: |
95
- for crate in core aso pricing signing reports play; do
95
+ for crate in core aso pricing signing reports play appgallery msstore; do
96
cargo check -p "smbcloud-ascapi-${crate}" --locked
97
done
98
@@ -135,7 +135,8 @@ jobs:
135
136
# Dependency order: a crate can only be published once everything it
137
# depends on is on crates.io. core first, then the domain crates
138
- # that only depend on core, then play (which depends on neither),
138
+ # that only depend on core, then play, appgallery and msstore (which depend on no other
139
+ # workspace crate),
140
# then frontend, mcp, and the CLI last.
141
crates=(
142
core
@@ -144,6 +145,8 @@ jobs:
145
signing
146
reports
147
play
148
+ appgallery
149
+ msstore
150
frontend
151
mcp
152
cli