This repo contains the update JSON files for Brackets.
To push new update files:
- Make sure the JSON parses cleanly (you can use http://jsonlint.com, but the errors might not be as good as calling
JSON.parse()
). - Check the files into this repo's master.
- SSH into the update server: dev.brackets.io. (Usernames/passwords are available from Adam or nj.)
- On the update server,
cd brackets-updates
(clone of this repo, should already be in the home directory) ./scripts/pull-updates.sh
This should update the files in /var/www/updates with the latest files from the repo.
(Note that the script doesn't actually do a pull in the clone that's in the home
directory; it does it into a temporary folder. You can do a pull in ~/brackets-updates
if you like, but it won't really affect anything other than the scripts themselves.)