Interface GoPublishOptions

    • 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 githubUseSsh is false.

        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 githubUseSsh is true.

        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"