Package io.github.cdklabs.projen.release
Interface GitPublishOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
GitPublishOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:43.249Z") @Stability(Experimental) public interface GitPublishOptions extends software.amazon.jsii.JsiiSerializable
(experimental) Publishing options for Git releases.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classGitPublishOptions.BuilderA builder forGitPublishOptionsstatic classGitPublishOptions.Jsii$ProxyAn implementation forGitPublishOptions
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static GitPublishOptions.Builderbuilder()StringgetChangelogFile()(experimental) The location of an .md file (relative todist/) that includes the changelog for the release.default StringgetGitBranch()(experimental) Branch to push to.default StringgetGitPushCommand()(experimental) Override git-push command.default StringgetProjectChangelogFile()(experimental) The location of an .md file that includes the project-level changelog.StringgetReleaseTagFile()(experimental) The location of a text file (relative todist/) that contains the release tag.StringgetVersionFile()(experimental) The location of a text file (relative todist/) that contains the version number.
-
-
-
Method Detail
-
getChangelogFile
@Stability(Experimental) @NotNull String getChangelogFile()
(experimental) The location of an .md file (relative todist/) that includes the changelog for the release.Example:
changelog.md
-
getReleaseTagFile
@Stability(Experimental) @NotNull String getReleaseTagFile()
(experimental) The location of a text file (relative todist/) that contains the release tag.Example:
releasetag.txt
-
getVersionFile
@Stability(Experimental) @NotNull String getVersionFile()
(experimental) The location of a text file (relative todist/) that contains the version number.Example:
version.txt
-
getGitBranch
@Stability(Experimental) @Nullable default String getGitBranch()
(experimental) Branch to push to.Default: "main"
-
getGitPushCommand
@Stability(Experimental) @Nullable default String getGitPushCommand()
(experimental) Override git-push command.Set to an empty string to disable pushing.
-
getProjectChangelogFile
@Stability(Experimental) @Nullable default String getProjectChangelogFile()
(experimental) The location of an .md file that includes the project-level changelog.
-
builder
@Stability(Experimental) static GitPublishOptions.Builder builder()
- Returns:
- a
GitPublishOptions.BuilderofGitPublishOptions
-
-