Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BumpPatchVersion ¶
BumpPatchVersion increments the patch version of a semver tag
func CommitAndRelease ¶
CommitAndRelease performs the full git workflow: 1. git add -A 2. Read CHANGELOG.md and add entry 3. Bump version (patch) 4. git commit 5. git tag 6. git push + push tag
func CommitCompletedFile ¶ added in v0.2.27
CommitCompletedFile stages and commits a completed prompt file. This is called after MoveToCompleted() to ensure the moved file is committed. Does nothing if the file is already staged or committed.
Types ¶
type Releaser ¶ added in v0.2.26
type Releaser interface {
GetNextVersion(ctx context.Context) (string, error)
CommitAndRelease(ctx context.Context, title string) error
CommitCompletedFile(ctx context.Context, path string) error
CommitOnly(ctx context.Context, message string) error
HasChangelog(ctx context.Context) bool
}
Releaser handles git commit, tag, and push operations.
Click to show internal directories.
Click to hide internal directories.