Package io.github.cdklabs.projen.release
Class JsiiReleaseGo.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.release.JsiiReleaseGo.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<JsiiReleaseGo>
- Enclosing interface:
- JsiiReleaseGo
@Stability(Deprecated) @Deprecated public static final class JsiiReleaseGo.Builder extends Object implements software.amazon.jsii.Builder<JsiiReleaseGo>
Deprecated.A builder forJsiiReleaseGo
-
-
Constructor Summary
Constructors Constructor Description Builder()Deprecated.
-
Method Summary
-
-
-
Method Detail
-
gitBranch
@Stability(Experimental) public JsiiReleaseGo.Builder gitBranch(String gitBranch)
Deprecated.Sets the value ofGoPublishOptions.getGitBranch()- Parameters:
gitBranch- Branch to push to.- Returns:
this
-
gitCommitMessage
@Stability(Experimental) public JsiiReleaseGo.Builder gitCommitMessage(String gitCommitMessage)
Deprecated.Sets the value ofGoPublishOptions.getGitCommitMessage()- Parameters:
gitCommitMessage- The commit message.- Returns:
this
-
githubDeployKeySecret
@Stability(Experimental) public JsiiReleaseGo.Builder githubDeployKeySecret(String githubDeployKeySecret)
Deprecated.Sets the value ofGoPublishOptions.getGithubDeployKeySecret()- Parameters:
githubDeployKeySecret- The name of the secret that includes a GitHub deploy key used to push to the GitHub repository. Ignored ifgithubUseSshisfalse.- Returns:
this
-
githubRepo
@Stability(Experimental) public JsiiReleaseGo.Builder githubRepo(String githubRepo)
Deprecated.Sets the value ofGoPublishOptions.getGithubRepo()- Parameters:
githubRepo- GitHub repository to push to.- Returns:
this
-
githubTokenSecret
@Stability(Experimental) public JsiiReleaseGo.Builder githubTokenSecret(String githubTokenSecret)
Deprecated.Sets the value ofGoPublishOptions.getGithubTokenSecret()- Parameters:
githubTokenSecret- The name of the secret that includes a personal GitHub access token used to push to the GitHub repository. Ignored ifgithubUseSshistrue.- Returns:
this
-
githubUseSsh
@Stability(Experimental) public JsiiReleaseGo.Builder githubUseSsh(Boolean githubUseSsh)
Deprecated.Sets the value ofGoPublishOptions.getGithubUseSsh()- Parameters:
githubUseSsh- Use SSH to push to GitHub instead of a personal accses token.- Returns:
this
-
gitUserEmail
@Stability(Experimental) public JsiiReleaseGo.Builder gitUserEmail(String gitUserEmail)
Deprecated.Sets the value ofGoPublishOptions.getGitUserEmail()- Parameters:
gitUserEmail- The email to use in the release git commit.- Returns:
this
-
gitUserName
@Stability(Experimental) public JsiiReleaseGo.Builder gitUserName(String gitUserName)
Deprecated.Sets the value ofGoPublishOptions.getGitUserName()- Parameters:
gitUserName- The user name to use for the release git commit.- Returns:
this
-
postPublishSteps
@Stability(Experimental) public JsiiReleaseGo.Builder postPublishSteps(List<? extends JobStep> postPublishSteps)
Deprecated.Sets the value ofCommonPublishOptions.getPostPublishSteps()- Parameters:
postPublishSteps- 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.- Returns:
this
-
prePublishSteps
@Stability(Experimental) public JsiiReleaseGo.Builder prePublishSteps(List<? extends JobStep> prePublishSteps)
Deprecated.Sets the value ofCommonPublishOptions.getPrePublishSteps()- Parameters:
prePublishSteps- Steps to execute before executing the publishing command. These can be used to prepare the artifact for publishing if neede. These steps are executed afterdist/has been populated with the build output.Note that when using this in
publishToGitHubReleasesthis will override steps added viaaddGitHubPrePublishingSteps.- Returns:
this
-
publishTools
@Stability(Experimental) public JsiiReleaseGo.Builder publishTools(Tools publishTools)
Deprecated.Sets the value ofCommonPublishOptions.getPublishTools()- Parameters:
publishTools- Additional tools to install in the publishing job.- Returns:
this
-
build
@Stability(Deprecated) @Deprecated public JsiiReleaseGo build()
Deprecated.Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<JsiiReleaseGo>- Returns:
- a new instance of
JsiiReleaseGo - Throws:
NullPointerException- if any required attribute was not provided
-
-