-
Notifications
You must be signed in to change notification settings - Fork 13.3k
prepare alpha channel release builder #6512
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Releases are created when tagging the main (this) repository (doc) With this PR, tagging with '0.0.1' will generate a release ("esp8266-0.0.1.zip") and update the package.json file to show a new version '0.0.1' that will be displayed by the arduino IDE in the bottom of the list of available versions (so users cannot accidentally update to this version). Once the alpha release is generated, the tag '0.0.1' has to be removed from the main repository. What I tested so far:
And the most important, no version accumulation in arduino cache or installed version, which is the real goal of this operation: a workaround to arduino/Arduino#6012 which is what prevents to provide a "nightlies" release channel. One caveat: if a user has an alpha version working, then remove/update later with a new version with bad issues, there is no path back to the previous one, it is definitely lost in the limbs of the past. Now, it has to be tested on the real field. Review for this process is welcome from @igrr @me-no-dev and current maintainers. |
Alpha/snapshot release demo, check https://d-a-v.github.io/esp8266/Arduino/ |
Install went smooth. |
Perhaps a manual save of the package file (or esp8266 folder) on the local system BEFORE uninstalling/reinstalling to refresh to the current nightly would be the workaround? The user could then unpack/copy that into their sketchbook hardware folder? I know it's self-defeating as far as 'easy for the end user'... 'cause you might as well just run the git version at that point... but still... it kinda... could of... should work? 😆 |
Totally.
And I/we'd not store the 40MB zip file for every generated alpha. BTW testing is at https://d-a-v.github.io/esp8266/Arduino/ edit |
zfs? Who needs zfs... just use btrfs + timeshift already!! :-P Didn't say it was a bright idea now, did I? 😆 🤣 |
tag '0.0.1' in the repository should trigger the build of a special '-0.0.1' release visible in arduino board manager.
This is intended to provide a regular snapshot of git head to arduino board manager.
This way of releasing alpha versions is a workaround to arduino/Arduino#6012
closes #6511
edit: https://twitter.com/mbanzi/status/1173532857857400832