Skip to content

chore: Improve release workflows#2916

Merged
antsgar merged 4 commits into
mainfrom
chore/improve-release-workflows
Jul 22, 2025
Merged

chore: Improve release workflows#2916
antsgar merged 4 commits into
mainfrom
chore/improve-release-workflows

Conversation

@antsgar

@antsgar antsgar commented Jul 18, 2025

Copy link
Copy Markdown
Contributor

No description provided.

run: yarn run webpack --config desktop.webpack.prod.js
- name: AppImage
run: yarn run electron-builder --linux --x64 -c.linux.target=AppImage --publish=never --c.extraMetadata.version=${{ env.APP_VERSION }}
run: |

@antsgar antsgar Jul 18, 2025

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The native modules are currently being rebuilt once before the packaging for both architectures happens. I suspect that might be the reason the native modules are always x64 and the arm64 Linux packages aren't running properly (see standardnotes/forum#3457). This is an attempt to fix the issue

- name: Rebuild Electron Native Modules
run: yarn workspace @standardnotes/desktop rebuild:home-server

- run: yarn build:desktop

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the same as yarn run webpack --config desktop.webpack.prod.js which runs below I think?


- run: echo APP_VERSION=$(node -p "require('./../web/package.json').version") >> $GITHUB_ENV

- name: Compile for AppImage

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now done in each step after rebuilding

"@babel/preset-env": "*",
"@electron/notarize": "^3.0.0",
"@electron/rebuild": "3.6.0",
"@electron/rebuild": "3.6.1",

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a fix on 3.6.1 which might affect rebuilding for different platforms electron/rebuild#1153

submission_information: { add_id_info_uses_idfa: false },
release_notes: {
'default': 'Fixes and improvements.'
'en-US': 'Fixes and improvements.'

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Attempt to fix the current error in the mobile workflow, which fails in this command stating the release_notes field is missing

@amanharwara amanharwara left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM at a glance. Only way to test this afaik is to merge and trigger a new release

@antsgar antsgar merged commit 8016cb3 into main Jul 22, 2025
2 checks passed
@antsgar antsgar deleted the chore/improve-release-workflows branch December 17, 2025 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants