Skip to content

Commit

Permalink
test webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkNerdi committed Oct 23, 2023
1 parent b5f4b5e commit 8308032
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/reusable_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
asset_path: assets/latest-linux.yml
asset_name: latest-linux.yml
asset_content_type: application/octet-stream
if: inputs.stage == 'prod'
# if: inputs.stage == 'prod'

- name: Upload Windows updater yml
uses: actions/upload-release-asset@v1
Expand All @@ -128,7 +128,7 @@ jobs:
asset_path: assets/latest.yml
asset_name: latest.yml
asset_content_type: application/octet-stream
if: inputs.stage == 'prod'
# if: inputs.stage == 'prod'

- name: Upload MacOs updater yml
uses: actions/upload-release-asset@v1
Expand All @@ -139,7 +139,7 @@ jobs:
asset_path: assets/latest-mac.yml
asset_name: latest-mac.yml
asset_content_type: application/octet-stream
if: inputs.stage == 'prod'
# if: inputs.stage == 'prod'

- name: Upload Linux code signature asset
uses: actions/upload-release-asset@v1
Expand Down
1 change: 1 addition & 0 deletions packages/desktop/webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ const rendererPlugins = [
}),
new DefinePlugin({
'process.env.PLATFORM': JSON.stringify(process.env.PLATFORM || 'desktop'),
'process.env.GH_PRIVATE_REPO_ACCESS_TOKEN': JSON.stringify(process.env.GH_PRIVATE_REPO_ACCESS_TOKEN),
'process.platform': JSON.stringify(process.platform),
'process.env.STAGE': JSON.stringify(stage),
features: JSON.stringify(features),
Expand Down

0 comments on commit 8308032

Please sign in to comment.