Skip to content

chore: add releaser actions#79

Merged
gaius-qi merged 1 commit intomainfrom
feature/release
Feb 24, 2025
Merged

chore: add releaser actions#79
gaius-qi merged 1 commit intomainfrom
feature/release

Conversation

@gaius-qi
Copy link
Member

This pull request introduces a new release workflow and adds configurations for the modctl command-line tool, including its build and documentation process.

Release Workflow:

  • Added a new GitHub Actions workflow for releases, which includes steps for checking out the repository, setting up Go, checking the GoReleaser configuration, and running GoReleaser. The workflow also generates a subject and sets tag output.

GoReleaser Configuration:

  • Configured GoReleaser to create draft releases, download Go modules before building, and define builds for different operating systems and architectures. It also specifies the archive format and includes a checksum file.

Build and Documentation:

  • Added a new Makefile target to generate the modctl man page using Pandoc.
  • Added the generated modctl man page file (modctl.1) with detailed command usage and options.
  • Added the source markdown file (modctl.1.md) for the modctl man page, which includes the same detailed command usage and options.

Signed-off-by: Gaius <gaius.qi@gmail.com>
@gaius-qi gaius-qi added the enhancement New feature or request label Feb 24, 2025
@gaius-qi gaius-qi self-assigned this Feb 24, 2025
Copy link
Member

@chlins chlins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@gaius-qi gaius-qi merged commit fd8393a into main Feb 24, 2025
5 checks passed
@gaius-qi gaius-qi deleted the feature/release branch February 24, 2025 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants