Update readme for releasing

This commit is contained in:
Donny Xia
2020-05-21 10:07:42 -07:00
parent 4d88032e11
commit 4b68425d86
2 changed files with 5 additions and 13 deletions

View File

@@ -112,17 +112,8 @@ The tag appears in the URL, e.g. [pluginator/v1.0.0].
## Release procedure ## Release procedure
> TODO: script what follows, so someone can enter The script used to release modules is in progress. Check it in
> ``` `releasing/releasing` directory.
> go run ./releasing/release.go kustomize minor
> # or:
> # go run ./releasing/release.go api patch
> # go run ./releasing/release.go pluginator minor
> ```
> The program would look at the existing remote tags,
> confirm sanity and increment the appropriate major/minor/patch
> component, create the right branch and tag, etc.
> No more bash please.
At any given moment, the repository's master branch is At any given moment, the repository's master branch is
passing all its tests and contains code one could release. passing all its tests and contains code one could release.

View File

@@ -50,7 +50,8 @@ func logFatalE(e error) {
var rootCmd = &cobra.Command{ var rootCmd = &cobra.Command{
Use: "releasing", Use: "releasing",
Short: "This go program is used to improve the modules releasing process in Kustomize repository.", Short: `This go program is used to improve the modules releasing process in Kustomize repository.
Note: You may need to run fixgomod.sh in the module to make the module ready to release.`,
} }
func listCmdImpl() error { func listCmdImpl() error {