Interface ReleaseProjectOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
AwsCdkConstructLibraryOptions,AwsCdkTypeScriptAppOptions,Cdk8sTypeScriptAppOptions,ConstructLibraryAwsOptions,ConstructLibraryCdk8sOptions,ConstructLibraryCdktfOptions,ConstructLibraryOptions,JsiiProjectOptions,NextJsProjectOptions,NextJsTypeScriptProjectOptions,NodeProjectOptions,ReactProjectOptions,ReactTypeScriptProjectOptions,ReleaseOptions,TypeScriptLibraryProjectOptions,TypeScriptProjectOptions
- All Known Implementing Classes:
AwsCdkConstructLibraryOptions.Jsii$Proxy,AwsCdkTypeScriptAppOptions.Jsii$Proxy,Cdk8sTypeScriptAppOptions.Jsii$Proxy,ConstructLibraryAwsOptions.Jsii$Proxy,ConstructLibraryCdk8sOptions.Jsii$Proxy,ConstructLibraryCdktfOptions.Jsii$Proxy,ConstructLibraryOptions.Jsii$Proxy,JsiiProjectOptions.Jsii$Proxy,NextJsProjectOptions.Jsii$Proxy,NextJsTypeScriptProjectOptions.Jsii$Proxy,NodeProjectOptions.Jsii$Proxy,ReactProjectOptions.Jsii$Proxy,ReactTypeScriptProjectOptions.Jsii$Proxy,ReleaseOptions.Jsii$Proxy,ReleaseProjectOptions.Jsii$Proxy,TypeScriptLibraryProjectOptions.Jsii$Proxy,TypeScriptProjectOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:43.269Z") @Stability(Experimental) public interface ReleaseProjectOptions extends software.amazon.jsii.JsiiSerializable
(experimental) Project options for release.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classReleaseProjectOptions.BuilderA builder forReleaseProjectOptionsstatic classReleaseProjectOptions.Jsii$ProxyAn implementation forReleaseProjectOptions
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description static ReleaseProjectOptions.Builderbuilder()default StringgetJsiiReleaseVersion()(experimental) Version requirement ofpublibwhich is used to publish modules to npm.default NumbergetMajorVersion()(experimental) Major version to release from the default branch.default NumbergetMinMajorVersion()(experimental) Minimal Major version to release.default StringgetNpmDistTag()(experimental) The npmDistTag to use when publishing from the default branch.default List<JobStep>getPostBuildSteps()(experimental) Steps to execute after build as part of the release workflow.default StringgetPrerelease()(experimental) Bump versions from the default branch as pre-releases (e.g.default BooleangetPublishDryRun()(experimental) Instead of actually publishing to package managers, just print the publishing command.default BooleangetPublishTasks()(experimental) Define publishing tasks that can be executed manually as well as workflows.default ReleasableCommitsgetReleasableCommits()(experimental) Find commits that should be considered releasable Used to decide if a release is required.default Map<String,BranchOptions>getReleaseBranches()(experimental) Defines additional release branches.default BooleangetReleaseEveryCommit()Deprecated.UsereleaseTrigger: ReleaseTrigger.continuous()insteaddefault BooleangetReleaseFailureIssue()(experimental) Create a github issue on every failed publishing task.default StringgetReleaseFailureIssueLabel()(experimental) The label to apply to issues indicating publish failures.default StringgetReleaseSchedule()Deprecated.UsereleaseTrigger: ReleaseTrigger.scheduled()insteaddefault StringgetReleaseTagPrefix()(experimental) Automatically add the given prefix to release tags.default ReleaseTriggergetReleaseTrigger()(experimental) The release trigger to use.default StringgetReleaseWorkflowName()(experimental) The name of the default release workflow.default List<JobStep>getReleaseWorkflowSetupSteps()(experimental) A set of workflow steps to execute in order to setup the workflow container.default Map<String,Object>getVersionrcOptions()(experimental) Custom configuration used when creating changelog with standard-version package.default StringgetWorkflowContainerImage()(experimental) Container image to use for GitHub workflows.default List<String>getWorkflowRunsOn()(experimental) Github Runner selection labels.default GroupRunnerOptionsgetWorkflowRunsOnGroup()(experimental) Github Runner Group selection options.
-
-
-
Method Detail
-
getJsiiReleaseVersion
@Stability(Experimental) @Nullable default String getJsiiReleaseVersion()
(experimental) Version requirement ofpublibwhich is used to publish modules to npm.Default: "latest"
-
getMajorVersion
@Stability(Experimental) @Nullable default Number getMajorVersion()
(experimental) Major version to release from the default branch.If this is specified, we bump the latest version of this major version line. If not specified, we bump the global latest version.
Default: - Major version is not enforced.
-
getMinMajorVersion
@Stability(Experimental) @Nullable default Number getMinMajorVersion()
(experimental) Minimal Major version to release.This can be useful to set to 1, as breaking changes before the 1.x major release are not incrementing the major version number.
Can not be set together with
majorVersion.Default: - No minimum version is being enforced
-
getNpmDistTag
@Stability(Experimental) @Nullable default String getNpmDistTag()
(experimental) The npmDistTag to use when publishing from the default branch.To set the npm dist-tag for release branches, set the
npmDistTagproperty for each branch.Default: "latest"
-
getPostBuildSteps
@Stability(Experimental) @Nullable default List<JobStep> getPostBuildSteps()
(experimental) Steps to execute after build as part of the release workflow.Default: []
-
getPrerelease
@Stability(Experimental) @Nullable default String getPrerelease()
(experimental) Bump versions from the default branch as pre-releases (e.g. "beta", "alpha", "pre").Default: - normal semantic versions
-
getPublishDryRun
@Stability(Experimental) @Nullable default Boolean getPublishDryRun()
(experimental) Instead of actually publishing to package managers, just print the publishing command.Default: false
-
getPublishTasks
@Stability(Experimental) @Nullable default Boolean getPublishTasks()
(experimental) Define publishing tasks that can be executed manually as well as workflows.Normally, publishing only happens within automated workflows. Enable this in order to create a publishing task for each publishing activity.
Default: false
-
getReleasableCommits
@Stability(Experimental) @Nullable default ReleasableCommits getReleasableCommits()
(experimental) Find commits that should be considered releasable Used to decide if a release is required.Default: ReleasableCommits.everyCommit()
-
getReleaseBranches
@Stability(Experimental) @Nullable default Map<String,BranchOptions> getReleaseBranches()
(experimental) Defines additional release branches.A workflow will be created for each release branch which will publish releases from commits in this branch. Each release branch must be assigned a major version number which is used to enforce that versions published from that branch always use that major version. If multiple branches are used, the
majorVersionfield must also be provided for the default branch.Default: - no additional branches are used for release. you can use `addBranch()` to add additional branches.
-
getReleaseEveryCommit
@Stability(Deprecated) @Deprecated @Nullable default Boolean getReleaseEveryCommit()
Deprecated.UsereleaseTrigger: ReleaseTrigger.continuous()instead(deprecated) Automatically release new versions every commit to one of branches inreleaseBranches.Default: true
-
getReleaseFailureIssue
@Stability(Experimental) @Nullable default Boolean getReleaseFailureIssue()
(experimental) Create a github issue on every failed publishing task.Default: false
-
getReleaseFailureIssueLabel
@Stability(Experimental) @Nullable default String getReleaseFailureIssueLabel()
(experimental) The label to apply to issues indicating publish failures.Only applies if
releaseFailureIssueis true.Default: "failed-release"
-
getReleaseSchedule
@Stability(Deprecated) @Deprecated @Nullable default String getReleaseSchedule()
Deprecated.UsereleaseTrigger: ReleaseTrigger.scheduled()instead(deprecated) CRON schedule to trigger new releases.Default: - no scheduled releases
-
getReleaseTagPrefix
@Stability(Experimental) @Nullable default String getReleaseTagPrefix()
(experimental) Automatically add the given prefix to release tags. Useful if you are releasing on multiple branches with overlapping version numbers.Note: this prefix is used to detect the latest tagged version when bumping, so if you change this on a project with an existing version history, you may need to manually tag your latest release with the new prefix.
Default: "v"
-
getReleaseTrigger
@Stability(Experimental) @Nullable default ReleaseTrigger getReleaseTrigger()
(experimental) The release trigger to use.Default: - Continuous releases (`ReleaseTrigger.continuous()`)
-
getReleaseWorkflowName
@Stability(Experimental) @Nullable default String getReleaseWorkflowName()
(experimental) The name of the default release workflow.Default: "release"
-
getReleaseWorkflowSetupSteps
@Stability(Experimental) @Nullable default List<JobStep> getReleaseWorkflowSetupSteps()
(experimental) A set of workflow steps to execute in order to setup the workflow container.
-
getVersionrcOptions
@Stability(Experimental) @Nullable default Map<String,Object> getVersionrcOptions()
(experimental) Custom configuration used when creating changelog with standard-version package.Given values either append to default configuration or overwrite values in it.
Default: - standard configuration applicable for GitHub repositories
-
getWorkflowContainerImage
@Stability(Experimental) @Nullable default String getWorkflowContainerImage()
(experimental) Container image to use for GitHub workflows.Default: - default image
-
getWorkflowRunsOn
@Stability(Experimental) @Nullable default List<String> getWorkflowRunsOn()
(experimental) Github Runner selection labels.Default: ["ubuntu-latest"]
-
getWorkflowRunsOnGroup
@Stability(Experimental) @Nullable default GroupRunnerOptions getWorkflowRunsOnGroup()
(experimental) Github Runner Group selection options.
-
builder
@Stability(Experimental) static ReleaseProjectOptions.Builder builder()
- Returns:
- a
ReleaseProjectOptions.BuilderofReleaseProjectOptions
-
-