Skip to content

Commit

Permalink
replace ../src with .
Browse files Browse the repository at this point in the history
Signed-off-by: Francis <[email protected]>
  • Loading branch information
colifran committed Oct 6, 2023
1 parent cba6666 commit af88274
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/__tests__/signing.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ describe('with standard pipeline', () => {
],
},
Source: {
BuildSpec: '{\n \"version\": \"0.2\",\n \"phases\": {\n \"install\": {\n \"commands\": [\n \"command -v yarn > /dev/null || npm install --global yarn\"\n ]\n },\n \"pre_build\": {\n \"commands\": [\n \"echo \\\"Downloading scripts from s3://${SCRIPT_S3_BUCKET}/${SCRIPT_S3_KEY}\\\"\",\n \"aws s3 cp s3://${SCRIPT_S3_BUCKET}/${SCRIPT_S3_KEY} /tmp\",\n \"mkdir -p /tmp/scriptdir\",\n \"unzip /tmp/$(basename $SCRIPT_S3_KEY) -d /tmp/scriptdir\"\n ]\n },\n \"build\": {\n \"commands\": [\n \"export SCRIPT_DIR=/tmp/scriptdir\",\n \"echo \\\"Running sign.sh\\\"\",\n \"/bin/bash /tmp/scriptdir/sign.sh\"\n ]\n }\n },\n \"artifacts\": {\n \"files\": [\n \"**/*\"\n ],\n \"base-directory\": \"../src\"\n }\n}',
BuildSpec: '{\n \"version\": \"0.2\",\n \"phases\": {\n \"install\": {\n \"commands\": [\n \"command -v yarn > /dev/null || npm install --global yarn\"\n ]\n },\n \"pre_build\": {\n \"commands\": [\n \"echo \\\"Downloading scripts from s3://${SCRIPT_S3_BUCKET}/${SCRIPT_S3_KEY}\\\"\",\n \"aws s3 cp s3://${SCRIPT_S3_BUCKET}/${SCRIPT_S3_KEY} /tmp\",\n \"mkdir -p /tmp/scriptdir\",\n \"unzip /tmp/$(basename $SCRIPT_S3_KEY) -d /tmp/scriptdir\"\n ]\n },\n \"build\": {\n \"commands\": [\n \"export SCRIPT_DIR=/tmp/scriptdir\",\n \"echo \\\"Running sign.sh\\\"\",\n \"/bin/bash /tmp/scriptdir/sign.sh\"\n ]\n }\n },\n \"artifacts\": {\n \"files\": [\n \"**/*\"\n ],\n \"base-directory\": \".\"\n }\n}',
Type: 'NO_SOURCE',
},
Cache: {
Expand Down
2 changes: 1 addition & 1 deletion lib/signing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export class SignNuGetWithSigner extends Construct implements ISigner {
version: '0.2',
artifacts: {
files: ['**/*'],
['base-directory']: '../src',
['base-directory']: '.',
},
}),
environment,
Expand Down

0 comments on commit af88274

Please sign in to comment.