@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-20T00:39:28.925Z") @Stability(value=Experimental) public interface ReleaseOptions extends software.amazon.jsii.JsiiSerializable, ReleaseProjectOptions
| Modifier and Type | Interface and Description |
|---|---|
static class |
ReleaseOptions.Builder
A builder for
ReleaseOptions |
static class |
ReleaseOptions.Jsii$Proxy
An implementation for
ReleaseOptions |
| Modifier and Type | Method and Description |
|---|---|
static ReleaseOptions.Builder |
builder() |
String |
getBranch()
(experimental) The default branch name to release from.
|
default Boolean |
getGithubRelease()
(experimental) Create a GitHub release for each release.
|
Task |
getTask()
(experimental) The task to execute in order to create the release artifacts.
|
String |
getVersionFile()
(experimental) A name of a .json file to set the `version` field in after a bump.
|
getAntitamper, getArtifactsDirectory, getJsiiReleaseVersion, getMajorVersion, getNpmDistTag, getPostBuildSteps, getPrerelease, getPublishTasks, getReleaseBranches, getReleaseEveryCommit, getReleaseFailureIssue, getReleaseFailureIssueLabel, getReleaseSchedule, getReleaseTagPrefix, getReleaseTrigger, getReleaseWorkflowName, getReleaseWorkflowSetupSteps, getVersionrcOptions, getWorkflowContainerImage, getWorkflowRunsOn@Stability(value=Experimental) @NotNull String getBranch()
Use majorVersion to restrict this branch to only publish releases with a
specific major version.
You can add additional branches using addBranch().
@Stability(value=Experimental) @NotNull Task getTask()
Artifacts are
expected to reside under artifactsDirectory (defaults to dist/) once
build is complete.
@Stability(value=Experimental) @NotNull String getVersionFile()
Example:
// Example automatically generated from non-compiling source. May contain errors. "package.json"
@Stability(value=Experimental) @Nullable default Boolean getGithubRelease()
Default: true
@Stability(value=Experimental) static ReleaseOptions.Builder builder()
builder in interface ReleaseProjectOptionsReleaseOptions.Builder of ReleaseOptionsCopyright © 2021. All rights reserved.