-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: update electron builder to generate separate builds #24588
Conversation
Generating a build here, but ignore the unrelated iOS failure. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we change staging
to dev
, this matches the Android and iOS flavours and simplifies things for us internally.
Do you want to change logos as well? Or are you talking about just the name? |
Just the app name, package name, and env name |
Done. |
I need help building the app locally. I have some codesign issues. |
@Julesssss How do we want to proceed here? Seems like @ArekChr is having issues with building the desktop app. |
@ArekChr what is the problem exactly? I just kicked off an AdHoc build for testing, but we still need to confirm the dev builds. |
@Julesssss when building it locally using the
|
Also, on GH Action, there is a template error in |
I started a new build. iOS will fail for an unrelated issue |
I forgot to generate the test build using the changes from this PR, retrying.... |
Creating new test builds: https://github.com/Expensify/App/actions/runs/6143244978 |
Hi @allroundexperts, could you please merge main into this PR? I think that will solve the build errors. |
@Julesssss Updated! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you update this line to be:
DESKTOP_LINK: https://ad-hoc-expensify-cash.s3.amazonaws.com/desktop/${{ env.PULL_REQUEST_NUMBER }}/NewExpensifyAdHoc.dmg
Updated @Julesssss! |
Started a new build |
🧪🧪 Use the links below to test this build in android and iOS. Happy testing! 🧪🧪 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AdHoc download works this time 👍
Hey @ArekChr, ready for testing again |
Reviewer Checklist
Screenshots/VideosWebMobile Web - ChromeMobile Web - SafariiOSAndroid |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/Julesssss in version: 1.3.70-0 🚀
|
🚀 Deployed to production by https://github.com/thienlnam in version: 1.3.70-8 🚀
|
Details
This PR updates electron builder config such that separate builds of the app are created on each platform.
Note: When running
npm run build-desktop-adhoc
locally, the build generated usesword marks
ofdev
environment. This is because.env.adhoc
file is missing on localhost. I haven't created one and committed it because each adhoc build has its own URL. I'm assuming this won't be a problem in the builds generated by the CI because proper environment would be set there.Fixed Issues
$ #24426
PROPOSAL: #24426 (comment)
Tests
staging
,adhoc
andproduction
desktop apps usingnpm run desktop-build-env
.Offline tests
N/A
QA Steps
QA not applicable here.
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android