Skip to content

Commit

Permalink
revert this tracing as it affect local production builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Brendan Forster committed Oct 26, 2018
1 parent fac3d88 commit 9854b24
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions script/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,14 @@ import {
} from '../app/package-info'

import { getReleaseChannel, getDistRoot, getExecutableName } from './dist-info'
import { getSha, isRunningOnFork, isCircleCI } from './build-platforms'
import { isRunningOnFork, isCircleCI } from './build-platforms'

const projectRoot = path.join(__dirname, '..')
const outRoot = path.join(projectRoot, 'out')

const isPublishableBuild = getReleaseChannel() !== 'development'

// don't call `getSha` when not on CI
if (isPublishableBuild) {
console.log(`Building for ${getReleaseChannel()} from commit id ${getSha()}…`)
} else {
console.log(`Building for ${getReleaseChannel()}`)
}
console.log(`Building for ${getReleaseChannel()}…`)

console.log('Removing old distribution…')
fs.removeSync(getDistRoot())
Expand Down

0 comments on commit 9854b24

Please sign in to comment.