You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f8feed7
Browse filesBrowse the repository at this point in the historyBrowse files
feat(release): warn about a progression step that is too small before the confirmation (#148)
`release create` sends the progression to the audience preview. The
preview then warns when a step adds fewer devices than the applied updates
it waits for.
The preview's warnings print before the confirmation, no longer after the
create, so a person reads them while the answer can still be no.
A progression the API refuses now fails at the preview, before the
confirmation and before any upload. A dry run with such a progression
exits 1.
`@hotcodepush/node` moves to 0.2.2, which carries the two query fields.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: src/commands/audience/get.ts
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ import { locateProjectConfig } from '../../utils/project-config.js';
18
18
19
19
exportdefaultdefineCommand({
20
20
description:
21
-
"Preview the devices a release's conditions would reach in a channel, before it exists, the project's fingerprint among them. This is what release create --dry-run prints.",
21
+
"Preview the devices a release's conditions would reach in a channel, before it exists, the project's fingerprint among them. It counts the same devices as release create --dry-run.",
22
22
examples: [
23
23
'hotcodepush audience get --binary-version ">=2.3.0" --rollout-percent 10',
24
24
'hotcodepush audience get --channel production --attribute tier=beta --device 6b1e9d37-2f5c-4a80-9c46-d8e3a1f7b259 --json',
'This releases bundle #17 · 1.4.2 at 10 percent, progressing through 10, 50, 100 percent, each step at least 3600 seconds and 50 applied updates: reaches 100 of 120 active devices in staging, about 100 at a 10 percent rollout. Continue?',
0 commit comments