@stacksjs/browser-extension 0.70.146 → 0.70.147

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +26 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -43,15 +43,34 @@ email to the publisher account. Firefox reads `AMO_JWT_ISSUER` and
43
43
  `firefoxAddons.license` and `firefoxAddons.categories` are configured.
44
44
 
45
45
  For tag-driven publication, call Stacks' reusable workflow from the extension
46
- repository instead of duplicating store orchestration:
46
+ repository instead of duplicating store orchestration. Expose the optional
47
+ manual inputs so a failed or missing GitHub Release can be repaired without
48
+ resubmitting builds to the browser stores:
47
49
 
48
50
  ```yaml
51
+ on:
52
+ workflow_dispatch:
53
+ inputs:
54
+ github-release-only:
55
+ description: Build packages and create or repair the GitHub Release only
56
+ type: boolean
57
+ default: false
58
+ release-tag:
59
+ description: Existing tag to repair; defaults to v<package.json version>
60
+ type: string
61
+ required: false
62
+ push:
63
+ tags:
64
+ - 'v*'
65
+
49
66
  jobs:
50
67
  publish:
51
- uses: stacksjs/stacks/.github/workflows/browser-extension-release.yml@v0.70.142
68
+ uses: stacksjs/stacks/.github/workflows/browser-extension-release.yml@v0.70.147
52
69
  with:
53
70
  chrome-publisher-id: ${{ vars.CHROME_WEB_STORE_PUBLISHER_ID }}
54
71
  safari-enabled: ${{ vars.ENABLE_SAFARI_PUBLISH == 'true' }}
72
+ publish-stores: ${{ !inputs.github-release-only }}
73
+ release-tag: ${{ inputs.release-tag || '' }}
55
74
  secrets:
56
75
  CHROME_WEB_STORE_SERVICE_ACCOUNT_JSON: ${{ secrets.CHROME_WEB_STORE_SERVICE_ACCOUNT_JSON }}
57
76
  AMO_JWT_ISSUER: ${{ secrets.AMO_JWT_ISSUER }}
@@ -62,8 +81,11 @@ jobs:
62
81
  ```
63
82
 
64
83
  It packages every configured target, publishes Chrome and Firefox in
65
- independent jobs, optionally uploads Safari with stable Xcode, and creates the
66
- GitHub Release only after the enabled stores succeed.
84
+ independent jobs, optionally uploads Safari with stable Xcode, and creates an
85
+ idempotent GitHub Release with checksummed packages as soon as validation
86
+ succeeds. Store failures cannot suppress the GitHub Release. A manual run with
87
+ `github-release-only` skips every store and creates or repairs the release for
88
+ the requested existing tag.
67
89
 
68
90
  ## Safari
69
91
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/browser-extension",
3
3
  "type": "module",
4
- "version": "0.70.146",
4
+ "version": "0.70.147",
5
5
  "description": "Build MV3 browser extensions (Chrome, Firefox, Safari) the Stacks way — manifest, content/background scripts, DNR rules, packaging, Safari container app, all config-driven.",
6
6
  "author": "Chris Breuer",
7
7
  "contributors": [