Skip to content

dokku/semver-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d277bd9 · May 18, 2024

History

42 Commits
May 17, 2024
May 18, 2024
May 16, 2024
May 18, 2024
May 15, 2024
May 18, 2024
May 18, 2024
May 18, 2024
May 18, 2024
May 15, 2024
May 18, 2024

Repository files navigation

semver-generator

Github Action and golang binary for generating a semver version

Requirements

  • Golang
  • Docker (optional)

Usage

# build it
docker build --progress plain -t semver-generator .

# run it with arguments
docker run --rm semver-generator --input 0.1.2 --bump patch

If executed in a Github Actions environment, a Github Output of version will be written.

Releasing

Run the bump-version Github Actions workflow with the appropriate bump type. A docker image will be generated and pushed into GHCR, while the built binaries will be attached to the Github Release associated with the generated tag.