https://github.com/dokku/semver-generator
A golang binary to produce a semver-bumped version
https://github.com/dokku/semver-generator
docker-image golang semver
Last synced: 4 months ago
JSON representation
A golang binary to produce a semver-bumped version
- Host: GitHub
- URL: https://github.com/dokku/semver-generator
- Owner: dokku
- License: mit
- Created: 2024-05-15T06:56:41.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-10-09T15:27:39.000Z (9 months ago)
- Last Synced: 2025-10-14T18:23:43.934Z (9 months ago)
- Topics: docker-image, golang, semver
- Language: Go
- Homepage:
- Size: 84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# semver-generator
Github Action and golang binary for generating a semver version
## Requirements
- Golang
- Docker (optional)
## Usage
```shell
# 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.