glch

command module
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2021 License: MIT Imports: 15 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

glch

CI

glch generates changelog based on GitLab Merge Request.

Usage

Run the glch after you moved to the GitLab project root directory.

$ glch [--latest|--only version|--next-version version]

You can use the following options.

  • --latest
    • Display changelog for the most recent version only
  • --only version
    • Display changelog for the specified versin only
  • --next-version version
    • Set the next version (default is "Unreleased")

GitLab Token

Please set your GitLab Token when using in a private project. You can get GitLab Token from this page.

$ export GITLAB_TOKEN=...

GitLab API Endpoint

Default GitLab API Endpoint is https://gitlab.com/api/v4/. You can change it via GITLAB_API.

export GITLAB_API=https://gitlab.example.com/api/v4/

Format of the changelog

glch will generate a changelog following format that based on 「keep a changelog」

## Version - YYYY-MM-DD

- <Merge Request title> <Reference> from @<Author>
- ...

Install

  • Download binary from release page
  • Copy binary to $PATH directory

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址