Skip to content

Commit a18f005

Browse files
authored
chore(toolkit-lib): publish-local script is not working (#115)
--- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
1 parent 50b14fd commit a18f005

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.projenrc.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1196,6 +1196,7 @@ toolkitLib.addTask('docs', {
11961196
});
11971197
toolkitLib.addTask('publish-local', {
11981198
exec: './build-tools/package.sh',
1199+
receiveArgs: true,
11991200
});
12001201

12011202
//////////////////////////////////////////////////////////////////////

packages/@aws-cdk/toolkit-lib/.projen/tasks.json

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk/toolkit-lib/build-tools/package.sh

+2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ cd "$(dirname $(dirname "$0"))"
1010
rm -rf dist/
1111
mkdir -p dist/js
1212
npm pkg set version=0.0.0-alpha.$commit
13+
npm pkg set dependencies.@aws-cdk/cloud-assembly-schema=$version
1314
npm pkg set dependencies.@aws-cdk/cloudformation-diff=$version
1415
npm pack --pack-destination dist/js
1516
npm pkg set version=$reset
1617
npm pkg set dependencies.@aws-cdk/cloudformation-diff=^$reset
18+
npm pkg set dependencies.@aws-cdk/cloud-assembly-schema=^$reset

0 commit comments

Comments
 (0)