Skip to content

Commit

Permalink
feat: publish for go (#341)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrgrain authored Jan 8, 2023
1 parent 6205ef8 commit 66a0df0
Show file tree
Hide file tree
Showing 7 changed files with 143 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build.yml

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

45 changes: 45 additions & 0 deletions .github/workflows/release-v3.yml

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

44 changes: 44 additions & 0 deletions .github/workflows/release.yml

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

2 changes: 2 additions & 0 deletions .mergify.yml

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

12 changes: 12 additions & 0 deletions .projen/tasks.json

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

6 changes: 6 additions & 0 deletions .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@ const project = new awscdk.AwsCdkConstructLibrary({
packageId: 'Mrgrain.CdkEsbuild',
iconUrl: 'https://raw.githubusercontent.com/mrgrain/cdk-esbuild/main/images/logo.png',
},
publishToGo: {
moduleName: 'github.com/mrgrain/cdk-esbuild-go',
githubUseSsh: true,
githubDeployKeySecret: 'GO_DEPLOY_KEY',
},
catalog: {
twitter: '@mrgrain',
},
Expand Down Expand Up @@ -202,6 +207,7 @@ v3ReleaseWorkflow?.addToArray(
'jobs.release_npm.steps',
tagOnNpm(project.package.packageName, ['cdk-v2', 'latest']),
);
v3ReleaseWorkflow?.addOverride('jobs.release_golang.steps.10.env.GIT_BRANCH', 'v3');


// jsii rosetta
Expand Down
4 changes: 4 additions & 0 deletions package.json

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

0 comments on commit 66a0df0

Please sign in to comment.