Skip to content

Commit

Permalink
fix: correct package names in support scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainMuller committed Sep 29, 2021
1 parent 07e2ece commit 924c117
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ cd ${scriptdir}
yarn install --frozen-lockfile
if [[ "${LEGACY_BUMP:-}" == "" ]]; then
# if we're using 'cdk-release' for the bump, build that package, including all of its dependencies
npx lerna run build --include-dependencies --scope cdk-release
npx lerna run build --include-dependencies --scope @aws-cdk/cdk-release
fi
${scriptdir}/scripts/bump.js ${1:-minor}
6 changes: 3 additions & 3 deletions scripts/bump-cfnspec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ ${pwd}/install.sh
# dependency, not `@aws-cdk/cfnspec` itself).
yarn lerna run build --stream \
--scope=@aws-cdk/cfnspec \
--scope=cfn2ts \
--scope=ubergen \
--scope=@aws-cdk/cfn2ts \
--scope=@aws-cdk/ubergen \
--include-dependencies

# Run the cfnspec update
Expand All @@ -30,4 +30,4 @@ version=$(cat cfn.version)
# Come back to root, add all files to git and commit
cd ${pwd}
git add .
git commit -a -m "feat: cloudformation spec v${version}" || true # don't fail if there are no updates
git commit -a -m "feat: cloudformation spec v${version}" || true # don't fail if there are no updates
4 changes: 2 additions & 2 deletions scripts/gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ fail() {

echo "============================================================================================="
echo "building required build tools..."
time lerna run --stream build --scope cfn2ts --scope ubergen --include-dependencies || fail
time lerna run --stream build --scope @aws-cdk/cfn2ts --scope @aws-cdk/ubergen --include-dependencies || fail

echo "============================================================================================="
echo "executing gen..."
time lerna run --stream gen || fail
time lerna run --stream gen || fail

0 comments on commit 924c117

Please sign in to comment.