Skip to content
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

Only creates dist package for specified channel on linux #209

Merged
merged 2 commits into from
Jul 3, 2018

Conversation

simonhong
Copy link
Member

@simonhong simonhong commented Jun 30, 2018

Issue brave/brave-browser#396

With brave/brave-browser#459, we can create dist for all three channels.

Submitter Checklist:

  • Submitted a ticket for my issue if one did not already exist.
  • Used Github auto-closing keywords in the commit message.
  • Added/updated tests for this change (for new code or code which already has tests).
  • Ran git rebase -i to squash commits (if needed).
  • Tagged reviewers and labelled the pull request as needed.
  • Request a security/privacy review as needed.

Test Plan:

yarn create_dist Release --channel=dev -> brave-browser-dev_XXX.deb`

Reviewer Checklist:

  • New files have MPL-2.0 license header.
  • Request a security/privacy review as needed.
  • Adequate test coverage exists to prevent regressions

@simonhong simonhong self-assigned this Jun 30, 2018
@simonhong simonhong requested review from darkdh and bridiver June 30, 2018 06:54
BUILD.gn Outdated
if (brave_channel == "") {
_linux_channel = "stable"
} else if (brave_channel == "dev") {
_linux_channel = "unstable"
Copy link
Collaborator

Choose a reason for hiding this comment

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

other options for brave_channel are unchanged for linux?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yep, beta is used as-is.
nightly is not supported yet on linux and will be added (brave/brave-browser#461)

Copy link
Collaborator

Choose a reason for hiding this comment

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

can we wrap these things together as I suggested in the other post so brave_channel is corrected for linux in //brave/build/config.gni ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yep, this value and others mentioned in #208 (comment), can be wrapped there.

But I'm not sure we can fetch that values from c++.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I was thinking a public_config with defines or a generated header file?

Copy link
Member Author

Choose a reason for hiding this comment

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

ok, I'll try!

Copy link
Member Author

Choose a reason for hiding this comment

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

Moved to //brave//build/config.gni. PTAL.

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.

3 participants