@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-20T00:39:28.927Z") @Stability(value=Experimental) public interface ReleaseProjectOptions extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
ReleaseProjectOptions.Builder
A builder for
ReleaseProjectOptions |
static class |
ReleaseProjectOptions.Jsii$Proxy
An implementation for
ReleaseProjectOptions |
| Modifier and Type | Method and Description |
|---|---|
static ReleaseProjectOptions.Builder |
builder() |
default Boolean |
getAntitamper()
(experimental) Checks that after build there are no modified files on git.
|
default String |
getArtifactsDirectory()
(experimental) A directory which will contain artifacts to be published to npm.
|
default String |
getJsiiReleaseVersion()
(experimental) Version requirement of `jsii-release` which is used to publish modules to npm.
|
default Number |
getMajorVersion()
(experimental) Major version to release from the default branch.
|
default String |
getNpmDistTag()
(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 String |
getPrerelease()
(experimental) Bump versions from the default branch as pre-releases (e.g.
|
default Boolean |
getPublishTasks()
(experimental) Define publishing tasks that can be executed manually as well as workflows.
|
default Map<String,BranchOptions> |
getReleaseBranches()
(experimental) Defines additional release branches.
|
default Boolean |
getReleaseEveryCommit()
Deprecated.
Use `releaseTrigger: ReleaseTrigger.continuous()` instead
|
default Boolean |
getReleaseFailureIssue()
(experimental) Create a github issue on every failed publishing task.
|
default String |
getReleaseFailureIssueLabel()
(experimental) The label to apply to issues indicating publish failures.
|
default String |
getReleaseSchedule()
Deprecated.
Use `releaseTrigger: ReleaseTrigger.scheduled()` instead
|
default String |
getReleaseTagPrefix()
(experimental) Automatically add the given prefix to release tags.
|
default ReleaseTrigger |
getReleaseTrigger()
(experimental) The release trigger to use.
|
default String |
getReleaseWorkflowName()
(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 String |
getWorkflowContainerImage()
(experimental) Container image to use for GitHub workflows.
|
default List<String> |
getWorkflowRunsOn()
(experimental) Github Runner selection labels.
|
@Stability(value=Experimental) @Nullable default Boolean getAntitamper()
Default: true
@Stability(value=Experimental) @Nullable default String getArtifactsDirectory()
Default: "dist"
@Stability(value=Experimental) @Nullable default String getJsiiReleaseVersion()
Default: "latest"
@Stability(value=Experimental) @Nullable default Number getMajorVersion()
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.
@Stability(value=Experimental) @Nullable default String getNpmDistTag()
To set the npm dist-tag for release branches, set the npmDistTag property
for each branch.
Default: "latest"
@Stability(value=Experimental) @Nullable default List<JobStep> getPostBuildSteps()
Default: []
@Stability(value=Experimental) @Nullable default String getPrerelease()
Default: - normal semantic versions
@Stability(value=Experimental) @Nullable default Boolean getPublishTasks()
Normally, publishing only happens within automated workflows. Enable this in order to create a publishing task for each publishing activity.
Default: false
@Stability(value=Experimental) @Nullable default Map<String,BranchOptions> getReleaseBranches()
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 majorVersion field must also
be provided for the default branch.
Default: - no additional branches are used for release. you can use `addBranch()` to add additional branches.
@Stability(value=Deprecated) @Deprecated @Nullable default Boolean getReleaseEveryCommit()
Default: true
@Stability(value=Experimental) @Nullable default Boolean getReleaseFailureIssue()
Default: false
@Stability(value=Experimental) @Nullable default String getReleaseFailureIssueLabel()
Only applies if releaseFailureIssue is true.
Default: "failed-release"
@Stability(value=Deprecated) @Deprecated @Nullable default String getReleaseSchedule()
Default: - no scheduled releases
@Stability(value=Experimental) @Nullable default String getReleaseTagPrefix()
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: - no prefix
@Stability(value=Experimental) @Nullable default ReleaseTrigger getReleaseTrigger()
Default: - Continuous releases (`ReleaseTrigger.continuous()`)
@Stability(value=Experimental) @Nullable default String getReleaseWorkflowName()
Default: "Release"
@Stability(value=Experimental) @Nullable default List<JobStep> getReleaseWorkflowSetupSteps()
@Stability(value=Experimental) @Nullable default Map<String,Object> getVersionrcOptions()
Given values either append to default configuration or overwrite values in it.
Default: - standard configuration applicable for GitHub repositories
@Stability(value=Experimental) @Nullable default String getWorkflowContainerImage()
Default: - default image
@Stability(value=Experimental) @Nullable default List<String> getWorkflowRunsOn()
Default: ["ubuntu-latest"]
@Stability(value=Experimental) static ReleaseProjectOptions.Builder builder()
ReleaseProjectOptions.Builder of ReleaseProjectOptionsCopyright © 2021. All rights reserved.