Skip to content

Add RPM linux build target #541

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

Merged
merged 3 commits into from
Oct 12, 2023
Merged

Add RPM linux build target #541

merged 3 commits into from
Oct 12, 2023

Conversation

brunohpaiva
Copy link
Contributor

Adds RPM as a Linux target to the electron-builder config.
The output is a bruno_%version%_x86_64_linux.rpm file in the packages/bruno-electron/out directory.
Resolves #230.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The whole file was changed as a result of the pre-commit hook "husky". The only change here was actually the addition of 'rpm' to the linux.target array.

@brunohpaiva
Copy link
Contributor Author

Running on Fedora 38, installed via the RPM file

image

@helloanoop helloanoop merged commit 8164962 into usebruno:main Oct 12, 2023
@helloanoop
Copy link
Contributor

Thanks @brunohpaiva :) !

@rombert
Copy link

rombert commented Oct 13, 2023

I see that https://github.com/usebruno/bruno/releases/tag/v0.24.0 was released yesterday but the RPM files are not present. Not a big deal as I can still use the AppImage file, but I assume the plan is to create RPMs for releases as well, right?

@helloanoop
Copy link
Contributor

Yes @rombert Will add support for downloading rpm files and eventually support for yum install bruno

@manojbaishya
Copy link

I had no issues with a local build on Fedora 38 from the main branch:

git clone https://github.com/usebruno/bruno.git
cd bruno
npm install
npm run build:electron:rpm
cd packages/bruno-electron/out
dnf install bruno_0.24.0_x86_64_linux.rpm

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.

[SUGGESTION] - Add rpm packages to new releases
4 participants