Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
pull_request:
merge_group:
types: [checks_requested]
workflow_call:

env:
NODE_VERSION: 20.17.0
Expand Down
67 changes: 67 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: Release (Forge 8)

on:
workflow_dispatch:

# Ensure only one release workflow runs at a time
concurrency:
group: release
cancel-in-progress: false

jobs:
test:
uses: ./.github/workflows/ci.yml

release:
name: Publish Next Release
environment: npm-trusted-publisher
runs-on: ubuntu-latest
needs: test
# Run this in the `next` branch only
if: github.repository == 'electron/forge' && github.ref == 'refs/heads/next'
permissions:
contents: write
id-token: write # Required for trusted publishing
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
with:
# We need the full history for version calculation
fetch-depth: 0

- name: Install Node.js
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.0.1
with:
node-version-file: '.nvmrc'
package-manager-cache: false

- name: Install dependencies
run: yarn install --immutable

- name: Build Electron Forge
run: yarn build

- name: Cache ESLint
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: .eslintcache
key: v2-lint-dependencies-${{ hashFiles('yarn.lock') }}-${{ hashFiles('.eslintrc.json') }}

- name: Lint codebase
run: |
yarn lint

- name: Upload build artifacts
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
with:
name: dist-files
path: packages/*/*/dist/*

- name: Get GitHub app token
id: secret-service
uses: electron/secret-service-action@3476425e8b30555aac15b1b7096938e254b0e155 # v1.0.0

- name: Publish prerelease (using OIDC trusted publishing)
env:
GH_TOKEN: ${{ fromJSON(steps.secret-service.outputs.secrets).GITHUB_TOKEN }}
run: lerna publish prerelease --force-publish --preid=alpha --pre-dist-tag=alpha --no-changelog --exact
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.19.0
22
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"npmClient": "yarn"
}
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"build": "tsc -b packages && ts-node tools/test-dist",
"build:watch": "tsc -b packages --watch",
"docs": "yarn build && typedoc",
"lerna:publish": "lerna publish --force-publish --conventional-commits --no-changelog --exact",
"lint:js": "prettier --check . --experimental-cli && eslint . --cache",
"lint:markdown": "electron-markdownlint \"**/*.md\"",
"lint:markdown-js": "electron-lint-markdown-standard --root . --ignore-path .markdownlintignore --semi \"**/*.md\"",
Expand Down
2 changes: 1 addition & 1 deletion packages/api/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-forge/cli",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "A complete tool for building modern Electron applications",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
Expand Down
2 changes: 1 addition & 1 deletion packages/api/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-forge/core",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "A complete tool for building modern Electron applications",
"repository": "https://github.com/electron/forge",
"main": "dist/api/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/external/create-electron-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-electron-app",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "Create Electron App",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/maker/appx/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-forge/maker-appx",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "AppX maker for Electron Forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
Expand Down
2 changes: 1 addition & 1 deletion packages/maker/base/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-forge/maker-base",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "Base maker for Electron Forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
Expand Down
2 changes: 1 addition & 1 deletion packages/maker/deb/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-forge/maker-deb",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "Deb maker for Electron Forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
Expand Down
2 changes: 1 addition & 1 deletion packages/maker/dmg/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-forge/maker-dmg",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "DMG maker for Electron Forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
Expand Down
2 changes: 1 addition & 1 deletion packages/maker/flatpak/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-forge/maker-flatpak",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "Flatpak maker for Electron Forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
Expand Down
2 changes: 1 addition & 1 deletion packages/maker/msix/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-forge/maker-msix",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "MSIX maker for Electron Forge",
"repository": "https://github.com/electron/forge",
"author": "Jan Hannemann",
Expand Down
2 changes: 1 addition & 1 deletion packages/maker/pkg/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-forge/maker-pkg",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "PKG maker for Electron Forge",
"repository": "https://github.com/electron/forge",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/maker/rpm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-forge/maker-rpm",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "Rpm maker for Electron Forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
Expand Down
2 changes: 1 addition & 1 deletion packages/maker/snap/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-forge/maker-snap",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "Snap maker for Electron Forge",
"repository": "https://github.com/electron/forge",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/maker/squirrel/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-forge/maker-squirrel",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "Squirrel maker for Electron Forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
Expand Down
2 changes: 1 addition & 1 deletion packages/maker/wix/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-forge/maker-wix",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "Wix maker for Electron Forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
Expand Down
2 changes: 1 addition & 1 deletion packages/maker/zip/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-forge/maker-zip",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "ZIP maker for Electron Forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin/auto-unpack-natives/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-forge/plugin-auto-unpack-natives",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "Auto Unpack Natives plugin for Electron Forge, automatically adds native node modules to asar.unpacked",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin/base/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-forge/plugin-base",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "Base plugin for Electron Forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin/fuses/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-forge/plugin-fuses",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "A plugin for flipping Electron Fuses in Electron Forge",
"repository": "https://github.com/electron/forge",
"author": "Erik Moura <erikian@erikian.dev>",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin/local-electron/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-forge/plugin-local-electron",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "Local Electron plugin for Electron Forge, let's you use a local build of Electron",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin/vite/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-forge/plugin-vite",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "Vite plugin for Electron Forge, lets you use Vite directly in your tooling",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin/webpack/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-forge/plugin-webpack",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "Webpack plugin for Electron Forge, lets you use Webpack directly in your tooling",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
Expand Down
2 changes: 1 addition & 1 deletion packages/publisher/base-static/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-forge/publisher-static",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "Base publisher for Electron Forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
Expand Down
2 changes: 1 addition & 1 deletion packages/publisher/base/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-forge/publisher-base",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "Base publisher for Electron Forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
Expand Down
2 changes: 1 addition & 1 deletion packages/publisher/bitbucket/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-forge/publisher-bitbucket",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "Bitbucket publisher for Electron Forge",
"repository": "https://github.com/electron/forge",
"author": "Luke Batchelor",
Expand Down
2 changes: 1 addition & 1 deletion packages/publisher/electron-release-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-forge/publisher-electron-release-server",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "Electron release server publisher for Electron Forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
Expand Down
2 changes: 1 addition & 1 deletion packages/publisher/gcs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-forge/publisher-gcs",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "Google Cloud Storage publisher for Electron Forge",
"repository": "https://github.com/electron/forge",
"author": "Evgeny Vlasenko",
Expand Down
2 changes: 1 addition & 1 deletion packages/publisher/github/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-forge/publisher-github",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "Github publisher for Electron Forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
Expand Down
2 changes: 1 addition & 1 deletion packages/publisher/nucleus/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-forge/publisher-nucleus",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "Nucleus publisher for Electron Forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
Expand Down
2 changes: 1 addition & 1 deletion packages/publisher/s3/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-forge/publisher-s3",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "S3 publisher for Electron Forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
Expand Down
2 changes: 1 addition & 1 deletion packages/publisher/snapcraft/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-forge/publisher-snapcraft",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "Snapcraft publisher for Electron Forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
Expand Down
2 changes: 1 addition & 1 deletion packages/template/base/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-forge/template-base",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "Base template for Electron Forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
Expand Down
2 changes: 1 addition & 1 deletion packages/template/vite-typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-forge/template-vite-typescript",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "Vite-TypeScript template for Electron Forge, gets you started with Vite really quickly",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/template/vite/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-forge/template-vite",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "Vite template for Electron Forge, gets you started with Vite really quickly",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/template/webpack-typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-forge/template-webpack-typescript",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "Webpack-TypeScript template for Electron Forge",
"repository": "https://github.com/electron/forge",
"author": "Shelley Vohr <shelley.vohr@gmail.com>",
Expand Down
2 changes: 1 addition & 1 deletion packages/template/webpack/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-forge/template-webpack",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "Webpack template for Electron Forge, gets you started with Webpack really quickly",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/core-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-forge/core-utils",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "Core utilities for the Electron Forge packages",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/test-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-forge/test-utils",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "Helper utilities for the Electron Forge testsuite",
"repository": "https://github.com/electron/forge",
"author": "Mark Lee",
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/tracer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@electron-forge/tracer",
"version": "7.10.2",
"version": "8.0.0-alpha.0",
"description": "Tracing helpers for Electron Forge",
"repository": "https://github.com/electron/forge",
"author": "Samuel Attard",
Expand Down
Loading
Loading