soft4good / extension-release
一个用于自动化浏览器扩展部署的包。
1.0.0.1
2016-05-01 08:35 UTC
Requires
- php: >=5.3.0
- tholu/php-packer: ^0.1.2
This package is auto-updated.
Last update: 2024-09-09 09:49:48 UTC
README
一个用于自动化浏览器扩展发布/部署的包。
目前仅支持Chrome。
功能
- 理解 release.json 文件中的发布配方
- 打包/混淆 JS 文件
- 在清单文件中更改版本
- 创建包含发布的文件夹
- 打包发布(准备上传到应用商店)
即将推出
- 与 Google Webstore 发布 API 集成 (https://developer.chrome.com/webstore/using_webstore_api)
- 与 Firefox 签名 API 集成 (https://olympia.readthedocs.io/en/latest/topics/api/signing.html)
安装
只需运行 composer require soft4good/extension-release。
使用方法
<?php require 'vendor/autoload.php'; try { Soft4Good\ExtensionRelease\Factory::create( './release.sample.json' ); } catch( Exception $exception ) { die( $exception->getMessage() ); }
命令行
$ php path/to/extension-release.php path/to/release.json