-
Notifications
You must be signed in to change notification settings - Fork 149
Monthly(?) build and release process
- Confirm Firefox for Android works.
- Merge experimental branch into master.
- Execute the workflow https://github.com/dteviot/WebToEpub/actions/workflows/AutoRelease.yml with the parameter "minor" for a monthly release. See https://github.com/dteviot/WebToEpub/issues/1410 for more details
- Copy files generated by workflow from https://github.com/dteviot/WebToEpub/releases/tag/xxxxxx
- Rename files:
- WebToEpub?.?.?.?.Chrome.zip => WebToEpub?.?.?.?.zip
- WebToEpub1.0.1.0.Firefox.zip => WebToEpub?.?.?.?.xpi
- Post respective files to Post to Google and Mozilla.
- Wait for confirmation email that Mozilla has updated store.
- Notify and close issues in GitHub that are now done.
- Try to release on last weekend of each month
The difference between Major and Minor are that changes are "big" and "not backwards-compatible" i would focus on "not backwards-compatible" The only not "not backwards-compatible" updates i can think of are if the min_browser_version gets increased. Tldr.: milestone.majore.minor.dev
milestone: Maybe if the UI completely changes. majore: if the min_browser_version gets increased or other permissions are needed. minore: normal updates (i.e. Monthly) dev: after each push to experimental
Here is general documentation for Firefox-Android extension development https://extensionworkshop.com/documentation/develop/developing-extensions-for-firefox-for-android/
Download and install Bluestacks Install F-Droid in BlueStacks
Install FFUpdater from F-Droid Install Firefox Browser via FFUpdater
In the BlueStacks App Player go to Settings (CTR+Shift+I) -> Advanced
- Enable Android Debug Bridge (ADB)
Open Firefox-Android -> Settings -> About Firefox
- Click the Firefox symbol 5 times to activate the debug menu
- Go back to Settings and enable "Remote debugging via USB"
Open Firefox (Not Firefox-Android) and go to "about:debugging"
- Enable USB Devices
- On the left side should be a Smartphone with the Option to Connect
- Click "Connect"
- Click the smartphone
Go to the WebToEpub folder and run "npm run lint"
- unzipp the newest WebToEpub.X.X.X.X.xpi build in the eslint folder
- Go in the unzipped folder and run the following commands
- adb devices
Than run the following command and change XXX to the name returned by "adb devices"
- web-ext run -t firefox-android --adb-device XXX
WebToEpub is now loaded on the Firefox-Android browser and can be used.
In Firefox (Not Firefox-Android) and go to "about:debugging" and click Inspect on WebToEpub to debug problems.