Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 43 additions & 13 deletions .github/workflows/release.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,8 @@ function genericCdkProps(props: GenericProps = {}) {
authorUrl: 'https://aws.amazon.com',
authorOrganization: true,
releasableCommits: pj.ReleasableCommits.featuresAndFixes('.'),
releaseEnvironment: 'releasing',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We already have a releasing environment with the necessary branch protection rule. It is currently only used to publish some of our assets to AWS accounts. I thought about creating a dedicated environment for the package manager releases, but I don't see much value in that.

npmTrustedPublishing: true,
jestOptions: {
configFilePath: 'jest.config.json',
junitReporting: false,
Expand Down Expand Up @@ -415,6 +417,7 @@ new JsiiBuild(cloudAssemblySchema, {
publishToPypi: {
distName: 'aws-cdk.cloud-assembly-schema',
module: 'aws_cdk.cloud_assembly_schema',
trustedPublishing: true,
},
pypiClassifiers: [
'Framework :: AWS CDK',
Expand Down Expand Up @@ -1411,6 +1414,7 @@ new JsiiBuild(cliLibAlpha, {
publishToPypi: {
distName: 'aws-cdk.cli-lib-alpha',
module: 'aws_cdk.cli_lib_alpha',
trustedPublishing: true,
},
pypiClassifiers: [
'Framework :: AWS CDK',
Expand Down
Loading