Package io.github.cdklabs.projen.release
Interface GoPublishOptions
-
- All Superinterfaces:
CommonPublishOptions,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
JsiiGoTarget,JsiiReleaseGo
- All Known Implementing Classes:
GoPublishOptions.Jsii$Proxy,JsiiGoTarget.Jsii$Proxy,JsiiReleaseGo.Jsii$Proxy
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:43.250Z") @Stability(Experimental) public interface GoPublishOptions extends software.amazon.jsii.JsiiSerializable, CommonPublishOptions
(experimental) Options for Go releases.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classGoPublishOptions.BuilderA builder forGoPublishOptionsstatic classGoPublishOptions.Jsii$ProxyAn implementation forGoPublishOptions
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static GoPublishOptions.Builderbuilder()default StringgetGitBranch()(experimental) Branch to push to.default StringgetGitCommitMessage()(experimental) The commit message.default StringgetGithubDeployKeySecret()(experimental) The name of the secret that includes a GitHub deploy key used to push to the GitHub repository.default StringgetGithubRepo()(experimental) GitHub repository to push to.default StringgetGithubTokenSecret()(experimental) The name of the secret that includes a personal GitHub access token used to push to the GitHub repository.default BooleangetGithubUseSsh()(experimental) Use SSH to push to GitHub instead of a personal accses token.default StringgetGitUserEmail()(experimental) The email to use in the release git commit.default StringgetGitUserName()(experimental) The user name to use for the release git commit.-
Methods inherited from interface io.github.cdklabs.projen.release.CommonPublishOptions
getPostPublishSteps, getPrePublishSteps, getPublishTools
-
-
-
-
Method Detail
-
getGitBranch
@Stability(Experimental) @Nullable default String getGitBranch()
(experimental) Branch to push to.Default: "main"
-
getGitCommitMessage
@Stability(Experimental) @Nullable default String getGitCommitMessage()
(experimental) The commit message.Default: "chore(release): $VERSION"
-
getGithubDeployKeySecret
@Stability(Experimental) @Nullable default String getGithubDeployKeySecret()
(experimental) The name of the secret that includes a GitHub deploy key used to push to the GitHub repository.Ignored if
githubUseSshisfalse.Default: "GO_GITHUB_DEPLOY_KEY"
-
getGithubRepo
@Stability(Experimental) @Nullable default String getGithubRepo()
(experimental) GitHub repository to push to.Default: - derived from `moduleName`
-
getGithubTokenSecret
@Stability(Experimental) @Nullable default String getGithubTokenSecret()
(experimental) The name of the secret that includes a personal GitHub access token used to push to the GitHub repository.Ignored if
githubUseSshistrue.Default: "GO_GITHUB_TOKEN"
-
getGithubUseSsh
@Stability(Experimental) @Nullable default Boolean getGithubUseSsh()
(experimental) Use SSH to push to GitHub instead of a personal accses token.Default: false
-
getGitUserEmail
@Stability(Experimental) @Nullable default String getGitUserEmail()
(experimental) The email to use in the release git commit.Default: "github-actions@github.com"
-
getGitUserName
@Stability(Experimental) @Nullable default String getGitUserName()
(experimental) The user name to use for the release git commit.Default: "github-actions"
-
builder
@Stability(Experimental) static GoPublishOptions.Builder builder()
- Returns:
- a
GoPublishOptions.BuilderofGoPublishOptions
-
-