@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-20T00:39:28.929Z") @Stability(value=Experimental) public class ReleaseTrigger extends software.amazon.jsii.JsiiObject
This includes release and release artifact automation
| Modifier | Constructor and Description |
|---|---|
protected |
ReleaseTrigger(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
ReleaseTrigger(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static ReleaseTrigger |
continuous()
(experimental) Creates a continuous release trigger.
|
String |
getChangelogPath()
(experimental) Project-level changelog file path.
|
String |
getGitPushCommand()
(experimental) Override git-push command used when releasing manually.
|
Boolean |
getIsContinuous()
(experimental) Whether or not this is a continuous release.
|
Boolean |
getIsManual()
(experimental) Whether or not this is a manual release trigger.
|
String |
getSchedule()
(experimental) Cron schedule for releases.
|
static ReleaseTrigger |
manual()
(experimental) Creates a manual release trigger.
|
static ReleaseTrigger |
manual(ManualReleaseOptions options)
(experimental) Creates a manual release trigger.
|
static ReleaseTrigger |
scheduled(ScheduledReleaseOptions options)
(experimental) Creates a scheduled release trigger.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected ReleaseTrigger(software.amazon.jsii.JsiiObjectRef objRef)
protected ReleaseTrigger(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) @NotNull public static ReleaseTrigger continuous()
Automated releases will occur on every commit.
@Stability(value=Experimental) @NotNull public static ReleaseTrigger manual(@Nullable ManualReleaseOptions options)
Use this option if you want totally manual releases.
This will give you a release task that, in addition to the normal
release activities will trigger a publish:git task. This task will
handle project-level changelog management, release tagging, and pushing
these artifacts to origin.
The command used for pushing can be customised by specifying
gitPushCommand. Set to an empty string to disable pushing entirely.
Simply run yarn release to trigger a manual release.
options - release options.@Stability(value=Experimental) @NotNull public static ReleaseTrigger manual()
Use this option if you want totally manual releases.
This will give you a release task that, in addition to the normal
release activities will trigger a publish:git task. This task will
handle project-level changelog management, release tagging, and pushing
these artifacts to origin.
The command used for pushing can be customised by specifying
gitPushCommand. Set to an empty string to disable pushing entirely.
Simply run yarn release to trigger a manual release.
@Stability(value=Experimental) @NotNull public static ReleaseTrigger scheduled(@NotNull ScheduledReleaseOptions options)
Automated releases will occur based on the provided cron schedule.
options - release options. This parameter is required.@Stability(value=Experimental) @NotNull public Boolean getIsContinuous()
@Stability(value=Experimental) @NotNull public Boolean getIsManual()
@Stability(value=Experimental) @Nullable public String getChangelogPath()
@Stability(value=Experimental) @Nullable public String getGitPushCommand()
Set to an empty string to disable pushing.
@Stability(value=Experimental) @Nullable public String getSchedule()
Only defined if this is a scheduled release.
Example:
// Example automatically generated from non-compiling source. May contain errors. '0 17 * * *' - every day at 5 pm
Copyright © 2021. All rights reserved.