@leverege/build-tools 2.85.0-beta.8 → 2.85.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leverege/build-tools",
3
- "version": "2.85.0-beta.8",
3
+ "version": "2.85.0",
4
4
  "description": "A collection of build / support tools for Leverege developers",
5
5
  "main": "index.js",
6
6
  "repository": {
package/src/Docker.mjs CHANGED
@@ -208,7 +208,12 @@ const buildContainerImage = async ( repoDescr ) => {
208
208
  fs.renameSync( './workspace', buildWorkspace )
209
209
  fs.cpSync( './docker/Dockerfile', './build/Dockerfile' )
210
210
  fs.cpSync( './build/Dockerfile', `${buildWorkspace}/Dockerfile` )
211
- fs.renameSync( './docker/bashrc', './build/bashrc' )
211
+
212
+ // bashrc won't exist if we're opting out of dockerfile generation
213
+ if ( fs.existsSync( './docker/bashrc' ) ) {
214
+ fs.renameSync( './docker/bashrc', './build/bashrc' )
215
+ }
216
+
212
217
  if ( isNodeJsProject ) {
213
218
  fs.cpSync( `${process.env.HOME}/.npmrc`, './build/.npmrc' )
214
219
  fs.cpSync( './package.json', `${buildWorkspace}/package.json` )
@@ -258,7 +258,6 @@ if ( isNodeJsProject ) {
258
258
  }
259
259
 
260
260
  if ( isPythonProject ) {
261
- log( `dockerInfo => ${JSON.stringify( dockerInfo, null, 2 )}` )
262
261
  log( `
263
262
  ${chalk.green.bold( 'Python Docker Information:' )}
264
263
  BaseImage: ${chalk.green.bold( dockerInfo.imageBase || `node:${dockerInfo.nodeimage}` )}