Skip to content

Commit

Permalink
Merge pull request #28 from malscent/main
Browse files Browse the repository at this point in the history
Fixes for naming templates during build
  • Loading branch information
malscent authored Mar 24, 2021
2 parents d384c60 + 02d5235 commit 222251e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/AWS-CreateRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: $GITHUB_WORKSPACE/build/aws/CouchbaseServerAndSyncGateway/aws-cbs-byol.template
asset_path: ./build/aws/CouchbaseServerAndSyncGateway/aws-cbs-byol.template
asset_name: aws-cbs-byol.template
asset_content_type: application/json
- name: Upload CBS Hourly Package
Expand All @@ -44,7 +44,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: $GITHUB_WORKSPACE/build/aws/CouchbaseServerAndSyncGateway/aws-cbs-hourly-pricing.template
asset_path: ./build/aws/CouchbaseServerAndSyncGateway/aws-cbs-hourly-pricing.template
asset_name: aws-cbs-hourly-pricing.template
asset_content_type: application/json
- name: Upload SG BYOL Package
Expand All @@ -54,7 +54,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: $GITHUB_WORKSPACE/build/aws/CouchbaseSyncGateway/aws-sg-byol.template
asset_path: ./build/aws/CouchbaseSyncGateway/aws-sg-byol.template
asset_name: aws-sg-byol.template
asset_content_type: application/json
- name: Upload SG Hourly Package
Expand All @@ -64,7 +64,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: $GITHUB_WORKSPACE/build/aws/CouchbaseSyncGateway/aws-sg-hourly-pricing.template
asset_path: ./build/aws/CouchbaseSyncGateway/aws-sg-hourly-pricing.template
asset_name: aws-sg-hourly-pricing.template
asset_content_type: application/json

4 changes: 2 additions & 2 deletions aws/CouchbaseServerAndSyncGateway/makeArchives.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ mkdir -p "$SCRIPT_SOURCE../../build/aws/CouchbaseServerAndSyncGateway/"
# First we need to replace the URL to the install script based on the root script_url txt
bash "$SCRIPT_SOURCE../../script_url_replacer.sh" "${SCRIPT_SOURCE}embedded_gateway.sh"
bash "$SCRIPT_SOURCE../../script_url_replacer.sh" "${SCRIPT_SOURCE}embedded_server.sh"
node "${SCRIPT_SOURCE}compiler.js" "${SCRIPT_SOURCE}mappings.byol.json" > "$SCRIPT_SOURCE../../build/aws/CouchbaseServerAndSyncGateway/couchbase-byol-amzn-lnx2.template"
node "${SCRIPT_SOURCE}compiler.js" "${SCRIPT_SOURCE}mappings.hourly.json" > "$SCRIPT_SOURCE../../build/aws/CouchbaseServerAndSyncGateway/couchbase-hourlypricing-amzn-lnx2.template"
node "${SCRIPT_SOURCE}compiler.js" "${SCRIPT_SOURCE}mappings.byol.json" > "$SCRIPT_SOURCE../../build/aws/CouchbaseServerAndSyncGateway/aws-cbs-byol.template"
node "${SCRIPT_SOURCE}compiler.js" "${SCRIPT_SOURCE}mappings.hourly.json" > "$SCRIPT_SOURCE../../build/aws/CouchbaseServerAndSyncGateway/aws-cbs-hourly-pricing.template"

0 comments on commit 222251e

Please sign in to comment.