Skip to content

Commit

Permalink
Revert "Only generate LICENSE files in Release builds"
Browse files Browse the repository at this point in the history
This reverts commit 350ea99.

Since we a PR (brave/brave-core#4398) has been accidentaly merged
with incorrect licensing info, breaking all release builds, it
makes sense to ensure that these kinds of errors are detected
early, during development, instead of during CI.
  • Loading branch information
fmarier committed Mar 6, 2020
1 parent b1dc932 commit 35232de
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,7 @@ const build = (buildConfig = config.defaultBuildConfig, options) => {
touchOverriddenFiles()
touchOverriddenVectorIconFiles()
util.updateBranding()
if (buildConfig === 'Release') {
licensing.updateLicenses()
}
licensing.updateLicenses()

if (config.xcode_gen_target) {
util.generateXcodeWorkspace()
Expand Down

0 comments on commit 35232de

Please sign in to comment.