Skip to content

Commit

Permalink
chore: simplify go package name (#9)
Browse files Browse the repository at this point in the history
By default, the package name seems to be `awscdkassetkubectlv20`: https://github.com/cdklabs/awscdk-asset-kubectl-go/tree/kubectl.20. 

This seems a bit redundant, so I want to simplify this to `kubectlv20` (and similar for other versions).

If accepted, I plan to backport this to other branches of kubectl.
  • Loading branch information
kaizencc committed Sep 28, 2022
1 parent 2ab720e commit b121894
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .projenrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ const project = new awscdk.AwsCdkConstructLibrary({
},
publishToGo: {
moduleName: 'github.com/cdklabs/awscdk-asset-kubectl-go',
packageName: `kubectlv${SPEC_VERSION}`,
gitBranch: `kubectl.${SPEC_VERSION}`,
gitUserName: 'AWS CDK Team',
gitUserEmail: 'aws-cdk@amazon.com',
Expand Down
3 changes: 2 additions & 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 b121894

Please sign in to comment.