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?: {}