Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.4 KB

release.md

File metadata and controls

35 lines (24 loc) · 1.4 KB

Release deployment

Pushing the release branch, or manually running Publish Web Clipper, builds Chrome, Edge, and Firefox packages and publishes them using the same Aliyun OSS/CDN credentials as NoteGen.

Required GitHub secrets

  • ALIYUN_ACCESS_KEY_ID
  • ALIYUN_ACCESS_KEY_SECRET
  • ALIYUN_REGION_ID
  • ALIYUN_OSS_ENDPOINT
  • ALIYUN_OSS_BUCKET
  • ALIYUN_CDN_DOMAIN

Published paths

Versioned packages are immutable:

https://<cdn-domain>/web-clipper/releases/v<version>/note-gen-web-clipper-<version>-chrome.zip
https://<cdn-domain>/web-clipper/releases/v<version>/note-gen-web-clipper-<version>-edge.zip
https://<cdn-domain>/web-clipper/releases/v<version>/note-gen-web-clipper-<version>-firefox.zip
https://<cdn-domain>/web-clipper/releases/v<version>/SHA256SUMS

The workflow artifact also includes the Firefox source ZIP required for Firefox Add-ons review. Public Firefox installation still requires Mozilla signing; the CDN ZIP is the unsigned release package.

The website should fetch the short-lived release manifest:

https://<cdn-domain>/web-clipper/latest.json

The manifest contains the current version plus each browser archive's URL, filename, byte size, and SHA-256. The workflow refreshes only this manifest in CDN because versioned archives never change.

Before publishing, update package.json to the release version and merge or push that commit to release.