per1234 / arduino-ci-script

Bash script for continuous integration of Arduino projects
MIT License
24 stars 7 forks source link

Automatic Boards Manager release for builds triggered by the creation of a git tag #8

Open per1234 opened 7 years ago

per1234 commented 7 years ago

Travis CI defines the TRAVIS_TAG environment variable when the build is triggered by the creation of a tag.

Process:

  1. Check if TRAVIS_TAG is defined.
  2. Create installation archive file
    1. Delete .gitignore and any other unnecessary Git files if present
    2. Move files up from the architecture subfolder
    3. Compress
    4. Calculate checksum
  3. Update the JSON file
  4. Do a test Boards Manager installation and compile with the installed boards with the specified IDE range.
  5. Commit the installation archive and JSON file to the release repository

Arguments:

Assumptions:

Resources:

I don't believe any of these are run automatically