- 📘 Documentation: https://github.com/lemon-sour/docs
- 🐦 Twitter: @hisasann
Using yarn:
yarn global add lemon-sour
Using npm:
npm i lemon-sour -g
Make index.yml
inside your project:
version: 1.0
jobs:
install_app_a:
name: app_a
latest_json_url: http://localhost:3000/app_basic_no_archive/latest.json
is_archive: false
output_path: C:\lemon-sour\app_basic_no_archive
events:
checking_for_update:
steps:
- run:
name: Nodejs Version
command: node --version
update_not_available:
steps:
- run:
name: NPM Version
command: npm --version
sync: true
update_available:
download_progress:
update_downloaded:
error:
workflows:
main:
jobs:
- install_app_a
latest.json
like this
{
"latestVersion": "1.0.0",
"fileUrl": "http://localhost:3000/app_basic_no_archive/index.txt",
"sha1": "3f786850e387550fdab836ed7e6dc881de23001b",
"releaseDate": "2019-01-18 19:29:45"
}
And then run:
$ lemon-sour --yml config.yml