changelog

command module
v0.0.0-...-13e448d Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2026 License: Apache-2.0 Imports: 1 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

changelog

Changelog generator

License GitHub tag (latest SemVer)

Getting Started

Write changelog to the console for the github repository lorislab/release-notes

changelog generate --repository lorislab/release-notes --token **** --version 2.0.0 --console

Create release and close version for the github repository lorislab/release-notes

changelog generate --repository lorislab/release-notes --token **** --version 2.0.0 --create-release --close-version

If the tool is running in the GitHub it will also check these environment variables if they are not specified:

  • GITHUB_REF - version paremeter
  • GITHUB_REPOSITORY - repository parameter

Commands

❯ changelog generate --help
Generate change for the release

Usage:
  changelog generate [flags]

Flags:
      --close-version       close version
      --console             write changelog to the console
      --create-release      create release and changelog
  -f, --file string         changelog definition (default "changelog.yaml")
  -h, --help                help for generate
  -r, --repository string   repository name (mandatory)
  -t, --token string        access token
  -e, --version string      release version (mandatory)

Global Flags:
      --config string      config file (default is $HOME/.changelog.yaml)
  -v, --verbosity string   Log level (debug, info, warn, error, fatal, panic (default "info")

Example of changelog.yaml

sections:
  - title: Major changes
    labels: 
      - "release/super-fearure"
  - title: Complete changelog
    labels: 
      - "bug"
      - "enhancement"
template: |
  Maven dependency:
  <dependency>
    <groupId>io.quarkus</groupId>
    <artifactId>quarkus-universe-bom</artifactId>
    <version>{{ .Version }}</version>
  </dependency>

  {{ range $section := .Sections }}{{ if $section.Items }}### {{ $section.GetTitle }}{{ range $item := $section.Items }}
  * [#{{ $item.GetID }}]({{ $item.GetURL }}) - {{ $item.GetTitle }}{{ end }}{{ end }}
  {{ end }}
Test release packages
goreleaser release --snapshot --clean

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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