Package io.github.cdklabs.projen.release
Interface CommonPublishOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
GitHubReleasesPublishOptions,GoPublishOptions,JsiiDotNetTarget,JsiiGoTarget,JsiiJavaTarget,JsiiPythonTarget,JsiiReleaseGo,JsiiReleaseMaven,JsiiReleaseNpm,JsiiReleaseNuget,JsiiReleasePyPi,MavenPublishOptions,NpmPublishOptions,NugetPublishOptions,PyPiPublishOptions
- All Known Implementing Classes:
CommonPublishOptions.Jsii$Proxy,GitHubReleasesPublishOptions.Jsii$Proxy,GoPublishOptions.Jsii$Proxy,JsiiDotNetTarget.Jsii$Proxy,JsiiGoTarget.Jsii$Proxy,JsiiJavaTarget.Jsii$Proxy,JsiiPythonTarget.Jsii$Proxy,JsiiReleaseGo.Jsii$Proxy,JsiiReleaseMaven.Jsii$Proxy,JsiiReleaseNpm.Jsii$Proxy,JsiiReleaseNuget.Jsii$Proxy,JsiiReleasePyPi.Jsii$Proxy,MavenPublishOptions.Jsii$Proxy,NpmPublishOptions.Jsii$Proxy,NugetPublishOptions.Jsii$Proxy,PyPiPublishOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:43.248Z") @Stability(Experimental) public interface CommonPublishOptions extends software.amazon.jsii.JsiiSerializable
(experimental) Common publishing options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCommonPublishOptions.BuilderA builder forCommonPublishOptionsstatic classCommonPublishOptions.Jsii$ProxyAn implementation forCommonPublishOptions
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static CommonPublishOptions.Builderbuilder()default List<JobStep>getPostPublishSteps()(experimental) Steps to execute after executing the publishing command.default List<JobStep>getPrePublishSteps()(experimental) Steps to execute before executing the publishing command.default ToolsgetPublishTools()(experimental) Additional tools to install in the publishing job.
-
-
-
Method Detail
-
getPostPublishSteps
@Stability(Experimental) @Nullable default List<JobStep> getPostPublishSteps()
(experimental) Steps to execute after executing the publishing command.These can be used to add/update the release artifacts ot any other tasks needed.
Note that when using this in
publishToGitHubReleasesthis will override steps added viaaddGitHubPostPublishingSteps.
-
getPrePublishSteps
@Stability(Experimental) @Nullable default List<JobStep> getPrePublishSteps()
(experimental) Steps to execute before executing the publishing command. These can be used to prepare the artifact for publishing if neede.These steps are executed after
dist/has been populated with the build output.Note that when using this in
publishToGitHubReleasesthis will override steps added viaaddGitHubPrePublishingSteps.
-
getPublishTools
@Stability(Experimental) @Nullable default Tools getPublishTools()
(experimental) Additional tools to install in the publishing job.Default: - no additional tools are installed
-
builder
@Stability(Experimental) static CommonPublishOptions.Builder builder()
- Returns:
- a
CommonPublishOptions.BuilderofCommonPublishOptions
-
-