milkv-duo / duo-arduino

GNU Lesser General Public License v2.1
15 stars 8 forks source link

release: script update and add release github action #15

Closed bekcpear closed 5 months ago

bekcpear commented 5 months ago

DON'T FORGET to replace the https://github.com/milkv-duo/duo-arduino/releases/download/config/package_sg200x_index.json file with the old version (v0.2.3) and confirm again before adding a v0.2.4 tag.


  1. use a specified link to download package index json file
  2. add a github action to release new tag automatically
    • This action will be triggered when a new tag which starting with a 'v' or 'V' character (e.g.: v0.2.4) has been pushed into the default branch; it also can be triggered by manually from workflow dispatch BUT NOT RECOMMEND, (don't forget to select the proper tag).
    • If the most recent arduino-sophgo version recorded by the remote package index json file isn't less than the current configured, the build step fails, than the release progress aborts, so, PLEASE always bump the arduino-sophgo version when any its deps changes.