mirror of
https://github.com/therootcompany/golib.git
synced 2026-03-13 12:27:59 +00:00
doc(tools/monorel): move usage summary to doc.go
This commit is contained in:
parent
f2302d2f24
commit
ba674a673d
23
tools/monorel/doc.go
Normal file
23
tools/monorel/doc.go
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
// monorel - Monorepo Release Tool
|
||||||
|
//
|
||||||
|
// Pass any number of paths to Go main packages. monorel walks up from each
|
||||||
|
// path to find its go.mod (stopping at .git so it never crosses the repo
|
||||||
|
// boundary), groups binaries by their module root, and performs the requested
|
||||||
|
// subcommand.
|
||||||
|
//
|
||||||
|
// Subcommands:
|
||||||
|
//
|
||||||
|
// monorel release <binary-path>...
|
||||||
|
// Generate .goreleaser.yaml and print a ready-to-review bash release script.
|
||||||
|
//
|
||||||
|
// monorel bump [-r major|minor|patch] <binary-path>...
|
||||||
|
// Create a new semver tag at the module's latest commit (default: patch).
|
||||||
|
//
|
||||||
|
// monorel init <binary-path>...
|
||||||
|
// Write .goreleaser.yaml, commit it, and run bump patch for each module
|
||||||
|
// (processed in the order their paths appear on the command line).
|
||||||
|
//
|
||||||
|
// Install:
|
||||||
|
//
|
||||||
|
// go install github.com/therootcompany/golib/tools/monorel@latest
|
||||||
|
package main
|
||||||
@ -1,5 +1,3 @@
|
|||||||
// monorel - Monorepo Release Tool
|
|
||||||
//
|
|
||||||
// Copyright 2026 AJ ONeal <aj@therootcompany.com>
|
// Copyright 2026 AJ ONeal <aj@therootcompany.com>
|
||||||
//
|
//
|
||||||
// This Source Code Form is subject to the terms of the Mozilla Public
|
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
@ -10,27 +8,6 @@
|
|||||||
// defined by the Mozilla Public License, v. 2.0.
|
// defined by the Mozilla Public License, v. 2.0.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MPL-2.0
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
//
|
|
||||||
// Pass any number of paths to Go main packages. monorel walks up from each
|
|
||||||
// path to find its go.mod (stopping at .git so it never crosses the repo
|
|
||||||
// boundary), groups binaries by their module root, and performs the requested
|
|
||||||
// subcommand.
|
|
||||||
//
|
|
||||||
// Subcommands:
|
|
||||||
//
|
|
||||||
// monorel release <binary-path>...
|
|
||||||
// Generate .goreleaser.yaml and print a ready-to-review bash release script.
|
|
||||||
//
|
|
||||||
// monorel bump [-r major|minor|patch] <binary-path>...
|
|
||||||
// Create a new semver tag at the module's latest commit (default: patch).
|
|
||||||
//
|
|
||||||
// monorel init <binary-path>...
|
|
||||||
// Write .goreleaser.yaml, commit it, and run bump patch for each module
|
|
||||||
// (processed in the order their paths appear on the command line).
|
|
||||||
//
|
|
||||||
// Install:
|
|
||||||
//
|
|
||||||
// go install github.com/therootcompany/golib/tools/monorel@latest
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user