mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-16 14:16:16 -08:00
ci(nightly): set the electron-builder publish channel for nightly builds
electron-builder does not derive the updater metadata name from the prerelease tag for the GitHub provider: the first nightly run produced latest-mac.yml / latest.yml / latest-linux.yml, and the publish step refused the release for lack of nightly-*.yml. The nightly apply step now also sets publish[0].channel to nightly in electron-builder.json. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
d3dee05a84
commit
0c9403baf8
6 files changed
+111
-11
No files matched your search
@@ -493,7 +493,9 @@ jobs:
|
||||
# offer it, and it must be in package.json before the frontend
|
||||
# and backend builds and electron-builder read it. The value
|
||||
# comes from the nightly-version job so every job of this run
|
||||
# builds the same version.
|
||||
# builds the same version. The script also sets the electron-
|
||||
# builder publish channel to "nightly", which names the updater
|
||||
# metadata nightly-mac.yml / nightly.yml / nightly-linux.yml.
|
||||
if: needs.nightly-version.outputs.version != ''
|
||||
# Windows runners default to PowerShell, where "${NIGHTLY_VERSION}"
|
||||
# expands to nothing and the script rejects the empty version.
|
||||
|
||||
Reference in new issue
Block a user