|
2 months ago | |
---|---|---|
.. | ||
README.md | 4512b2b5c4 chore: remove remaining references to AppVeyor (#45339) | 2 months ago |
cleanup-release.ts | 122685194a build: add import/order eslint rule (#44085) | 6 months ago |
prepare-for-release.ts | f4ffd018e6 build: cleanup release scripts, separate cli entrypoints from logic (#44058) | 6 months ago |
print-next-version.ts | f4ffd018e6 build: cleanup release scripts, separate cli entrypoints from logic (#44058) | 6 months ago |
publish-to-github.ts | f4ffd018e6 build: cleanup release scripts, separate cli entrypoints from logic (#44058) | 6 months ago |
publish-to-npm.ts | 122685194a build: add import/order eslint rule (#44085) | 6 months ago |
run-release-builds.ts | 4512b2b5c4 chore: remove remaining references to AppVeyor (#45339) | 2 months ago |
validate-before-publish.ts | f4ffd018e6 build: cleanup release scripts, separate cli entrypoints from logic (#44058) | 6 months ago |
These ancient artifacts date back to the early days of Electron, they have been modified over the years but in reality still very much look how they did at the beginning. You have been warned.
None of these scripts are called manually, they are each called by Sudowoodo at various points in the Electron release process. What each script does though is loosely documented below, however this documentation is a best effort so please be careful when modifying the scripts as there still may be unknown or undocumented effects / intentions.
cleanup-release
This script completely reverts a failed or otherwise unreleasable version. It does this by:
[!NOTE] This is the only script / case where an existing tag will be deleted. Tags are only considered immutable after the release is published.
print-next-version
This script just outputs the theoretical "next" version that a release would use.
prepare-for-release
This script creates all the requisite tags and CI builds that will populate required release assets.
run-release-build
This script is used to re-kick specific release builds after they fail. Sudowoodo is responsible for prompting the release team as to whether or not to run this script.
validate-before-publish
This script ensures that a release is in a valid state before publishing it anywhere. Specifically it checks:
publish-to-github
This script finalizes the GitHub release, in the process it:
index.json
file on the assets CDN with the new version via metadumperpublish-to-npm
This script finishes the release process by publishing a new npm
package.