Rename to storebound (plugin, CLI, config file, credentials folder, repo)
This commit is contained in:
parent
ecb3dc3dc3
commit
0ca1d464e4
52 changed files with 171 additions and 171 deletions
|
|
@ -1,6 +1,6 @@
|
|||
// Play Data safety form through applications.dataSafety (CSV import; replaces every earlier answer).
|
||||
// crt-ship play data-safety [--csv out.csv] [--dry]
|
||||
// Answers come from `dataSafety` in crt-ship.config.ts. --dry only writes / prints the CSV.
|
||||
// storebound play data-safety [--csv out.csv] [--dry]
|
||||
// Answers come from `dataSafety` in storebound.config.ts. --dry only writes / prints the CSV.
|
||||
import { writeFileSync } from 'node:fs';
|
||||
import type { Ctx } from '../lib/ctx';
|
||||
import { need } from '../lib/ctx';
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
// Play store graphics per language, one edit per language (a Console save in parallel then only costs a retry of that
|
||||
// language, not of the whole upload).
|
||||
// crt-ship play images [--dry] [--only en-US,de-DE] [--src store/renders]
|
||||
// storebound play images [--dry] [--only en-US,de-DE] [--src store/renders]
|
||||
// Per Play language, from <renders>/<language id>/: icon (play.icon, 512x512), featureGraphic (feature/1024x500.*),
|
||||
// phoneScreenshots (play/NN.*), sevenInchScreenshots (tab7/NN.*), tenInchScreenshots (tab10/NN.*). A .jpg next to a
|
||||
// .png wins (JPEG q92 uploads about 4x faster; `crt-ship shots jpeg` makes them). Each image type is cleared
|
||||
// .png wins (JPEG q92 uploads about 4x faster; `storebound shots jpeg` makes them). Each image type is cleared
|
||||
// before uploading, so re-runs are idempotent. Uploads are slow: run in the background with a log file.
|
||||
import { existsSync, readdirSync, readFileSync } from 'node:fs';
|
||||
import { join } from 'node:path';
|
||||
|
|
@ -45,7 +45,7 @@ export async function run(ctx: Ctx): Promise<void> {
|
|||
const set: [string, string[]][] = [['icon', [icon]], ['featureGraphic', feature ? [feature] : []],
|
||||
...Object.entries(PLAY_IMAGE_DIRS).map(([type, sub]) => [type, numberedImages(join(dir, sub)).slice(0, 8)] as [string, string[]])];
|
||||
for (const [type, files] of set) {
|
||||
if (!files.length || !files.every(existsSync)) throw new Error(`${code}: no ${type} in ${dir} (render first: crt-ship shots render)`);
|
||||
if (!files.length || !files.every(existsSync)) throw new Error(`${code}: no ${type} in ${dir} (render first: storebound shots render)`);
|
||||
if (type.endsWith('Screenshots') && files.length < 2) throw new Error(`${code}: ${type} needs at least 2 images`);
|
||||
}
|
||||
sets.set(code, set);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
// Play store listing text + app details in one edit.
|
||||
// crt-ship play listing [--dry] [--only en-US,de-DE]
|
||||
// storebound play listing [--dry] [--only en-US,de-DE]
|
||||
// App details: default language, contact email, website (must be the domain that serves app-ads.txt).
|
||||
// Listings: title, short and full description of every `<!-- play: ... -->` section of the listing file.
|
||||
import { readFileSync } from 'node:fs';
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// In-app products on Google Play through monetization.onetimeproducts (the legacy inappproducts API answers 403
|
||||
// "Please migrate to the new publishing API" for apps on the new model).
|
||||
// crt-ship play products [--dry] [--only id1,id2]
|
||||
// storebound play products [--dry] [--only id1,id2]
|
||||
// Per product: convertRegionPrices (USD base -> every region at local price points, plus regionsVersion), your
|
||||
// explicit overrides on top, PATCH ...?allowMissing=true (create or update), then activate the purchase option
|
||||
// (new options start as DRAFT) with purchaseOptions:batchUpdateStates. Idempotent.
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
// Upload an AAB (or reuse an uploaded versionCode) and put it on one or more tracks in one edit, with the "What's new"
|
||||
// of every listing language as release notes.
|
||||
// crt-ship play release app-release.aab [--internal completed] [--production draft] [--name "1.0.0 (3)"] [--dry]
|
||||
// crt-ship play release --version-code 3 --production draft
|
||||
// storebound play release app-release.aab [--internal completed] [--production draft] [--name "1.0.0 (3)"] [--dry]
|
||||
// storebound play release --version-code 3 --production draft
|
||||
// Tracks: internal, alpha (closed), beta (open), production; status completed | draft | inProgress | halted.
|
||||
// Without a track flag: internal, completed. A production release that is not a draft asks for confirmation.
|
||||
// Draft app (never published): Play only accepts status "draft" on any track; the first production release is sent
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
// Read-only overview: tracks and releases, listing languages, one-time products and their purchase option states.
|
||||
// crt-ship play status [--json]
|
||||
// storebound play status [--json]
|
||||
import type { Ctx } from '../lib/ctx';
|
||||
import { need } from '../lib/ctx';
|
||||
import { playClient } from './client';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue