Skip to content

Commit

Permalink
feat: release and publish
Browse files Browse the repository at this point in the history
  • Loading branch information
pflorek committed Jan 17, 2022
1 parent 4da1f7c commit 18f5686
Show file tree
Hide file tree
Showing 6 changed files with 183 additions and 3 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/build.yml

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

63 changes: 63 additions & 0 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 .mergify.yml

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

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

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

23 changes: 21 additions & 2 deletions .projenrc.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
const { awscdk } = require("projen");
const { awscdk, javascript } = require("projen");
const project = new awscdk.AwsCdkConstructLibrary({
author: "Andreas Forster",
authorAddress: "[email protected]",
authorOrganization: true,
license: "MIT",
copyrightOwner: "Pepperize UG (haftungsbeschränkt)",
cdkVersion: "1.139.0",
defaultReleaseBranch: "main",
name: "@pepperize/cdk-private-bucket",
description: "This project provides a CDK construct for creating private S3 bucket.",
keywords: ["aws", "cdk", "bucket", "s3"],
Expand All @@ -31,6 +30,26 @@ const project = new awscdk.AwsCdkConstructLibrary({
},
},

defaultReleaseBranch: "main",
npmAccess: javascript.NpmAccess.PUBLIC,
release: {
releaseEveryCommit: true,
},
releaseToNpm: true,
publishToNuget: {
dotNetNamespace: "Pepperize.CDK",
packageId: "Pepperize.CDK.PrivateBucket",
},
publishToPypi: {
distName: "pepperize.cdk-private-bucket",
module: "pepperize_cdk_private_bucket",
},
// publishToMaven: {
// javaPackage: "your_java_package",
// mavenGroupId: "your_package_group_id",
// mavenArtifactId: "your_package_target_id",
// },

gitignore: [".idea/", "*.iml"],

cdkDependencies: ["@aws-cdk/aws-s3"], // v1
Expand Down
16 changes: 15 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 18f5686

Please sign in to comment.