Skip to content

Commit f1beb5b

Browse files
committed
chore: rename main branch
1 parent 2caea6a commit f1beb5b

File tree

6 files changed

+15
-13
lines changed

6 files changed

+15
-13
lines changed

.gitattributes

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/upgrade-master.yml renamed to .github/workflows/upgrade-main.yml

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.gitignore

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projen/files.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projen/tasks.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projenrc.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ import { JobPermission } from 'projen/lib/github/workflows-model';
44
import { NodeProject, TrailingComma, UpgradeDependenciesSchedule } from 'projen/lib/javascript';
55
import { ReleaseTrigger } from 'projen/lib/release';
66

7+
const defaultReleaseBranch = 'main';
8+
79
const project = new awscdk.AwsCdkTypeScriptApp({
810
cdkVersion: '2.95.0',
9-
defaultReleaseBranch: 'master',
11+
defaultReleaseBranch,
1012
name: 'aws-lambda-tesseract-layer',
1113
description: 'A layer for AWS Lambda containing the tesseract C libraries and tesseract executable. ',
1214
projenrcTs: true,
@@ -213,15 +215,15 @@ project.eslint?.addRules({
213215
new awscdk.AwsCdkTypeScriptApp({
214216
cdkVersion: '2.55.0',
215217
name: 'aws-lambda-tesseract-layer-example',
216-
defaultReleaseBranch: 'master',
218+
defaultReleaseBranch,
217219
parent: project,
218220
outdir: 'example/cdk',
219221
depsUpgrade: true,
220222
licensed: false,
221223
});
222224
new NodeProject({
223225
name: 'node-lambda',
224-
defaultReleaseBranch: 'master',
226+
defaultReleaseBranch,
225227
parent: project,
226228
outdir: 'continous-integration/lambda-handlers/node',
227229
deps: ['tesseractocr'],

0 commit comments

Comments
 (0)