mozilla / r2d2b2g

Firefox OS Simulator is a test environment for Firefox OS. Use it to test your apps in a Firefox OS-like environment that looks and feels like a mobile phone.
https://addons.mozilla.org/en-US/firefox/addon/firefox-os-simulator/
Other
392 stars 139 forks source link

Ftp hosting #840

Closed ochameau closed 10 years ago

ochameau commented 10 years ago

Here is some tweaks to host simulator xpis to a ftp. I'm not sure the release target has its place in this Makefile, but that ends up being very handy and ensure that we upload xpis to the precise right place. But may be we can move it to ftp folder... or keep it private.

I tested by uploading a first pre3 version with its update.rdf. No update requested when installing it. Then uploaded pre4 based on the second revision, and also uploaded its related update.rdf, the pre3 immediatly request an update and the update works. (I checked addon version, but also b2g version in the settings app)

mykmelez commented 10 years ago

Also useful would be to create "latest" links that point to the latest build, so other sites can link to them instead of having to link directly to the latest build and then be updated every time it changes. But that can happen in a separate changeset.

I haven't tested this, but it looks right by visual inspection.