Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
fix: add baseDir templates
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Apr 9, 2018
1 parent 7f6e903 commit 0a545f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 %>',
Expand Down
2 changes: 2 additions & 0 deletions src/pjson.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ export namespace PJSON {
vanillaTarball: string
platformManifest: string
vanillaManifest: string
platformBaseDir: string
vanillaBaseDir: string
}
}
// github?: {}
Expand Down

0 comments on commit 0a545f0

Please sign in to comment.