Skip to content

Commit

Permalink
chore: switch default branch to 10.x (#789)
Browse files Browse the repository at this point in the history
Switch the default branch to 10.x, while making 3.x a release
branch.

Related #784
  • Loading branch information
Elad Ben-Israel authored Dec 10, 2021
1 parent c37850f commit 49f7adc
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 39 deletions.
4 changes: 2 additions & 2 deletions .gitattributes

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

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

8 changes: 4 additions & 4 deletions .github/workflows/release.yml

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

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

4 changes: 2 additions & 2 deletions .gitignore

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

16 changes: 8 additions & 8 deletions .projen/tasks.json

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

12 changes: 4 additions & 8 deletions .projenrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ const project = new cdk.JsiiProject({
repository: 'https://github.com/aws/constructs.git',

// release branches
defaultReleaseBranch: 'main',
majorVersion: 3,
defaultReleaseBranch: '10.x',
majorVersion: 10,
npmDistTag: 'latest',
releaseBranches: {
'10.x': { majorVersion: 10 },
'3.x': { majorVersion: 3, npmDistTag: 'latest-3' },
},

// author
Expand Down Expand Up @@ -58,11 +59,6 @@ const project = new cdk.JsiiProject({

compat: true,

//----------------------------------------------------
// pre-release 10.x: publish "next" dist-tag and do not publish non-npm languages
//----------------------------------------------------------
npmDistTag: 'next',

projenUpgradeSecret: 'PROJEN_GITHUB_TOKEN',
autoApproveOptions: {
allowedUsernames: ['aws-cdk-automation'],
Expand Down
2 changes: 1 addition & 1 deletion package.json

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

0 comments on commit 49f7adc

Please sign in to comment.