From 0a545f0789fe372ee77b99385908e29892a5a6c3 Mon Sep 17 00:00:00 2001 From: Jeff Dickey <216188+jdxcode@users.noreply.github.com> Date: Mon, 9 Apr 2018 01:03:29 -0700 Subject: [PATCH] fix: add baseDir templates --- src/config.ts | 2 ++ src/pjson.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/config.ts b/src/config.ts index 7f60c43e..9ea4db46 100644 --- a/src/config.ts +++ b/src/config.ts @@ -184,6 +184,8 @@ export class Config implements IConfig { s3.bucket = this.scopedEnvVar('S3_BUCKET') || s3.bucket if (s3.bucket && !s3.host) s3.host = `https://${s3.bucket}.s3.amazonaws.com` s3.templates = { + platformBaseDir: '<%- bin %>', + vanillaBaseDir: '<%- bin %>', platformTarball: '<%- name %>/channels/<%- channel %>/<%- bin %>-v<%- version %>/<%- bin %>-v<%- version %>-<%- platform %>-<%- arch %>', vanillaTarball: '<%- name %>/channels/<%- channel %>/<%- bin %>-v<%- version %>/<%- bin %>-v<%- version %>', platformManifest: '<%- name %>/channels/<%- channel %>/<%- platform %>-<%- arch %>', diff --git a/src/pjson.ts b/src/pjson.ts index 6f91d832..2bc612a0 100644 --- a/src/pjson.ts +++ b/src/pjson.ts @@ -37,6 +37,8 @@ export namespace PJSON { vanillaTarball: string platformManifest: string vanillaManifest: string + platformBaseDir: string + vanillaBaseDir: string } } // github?: {}