rlsbl.targets.go
Go release target for rlsbl.
Go projects use a VERSION file as the source of truth for rlsbl. GoReleaser handles the build/publish step triggered by the GitHub Release that rlsbl creates.
Classes
GoTarget
Release target for Go projects (go.mod + VERSION file).
read_version
def read_version(self, dir_path)
Read version from the VERSION file.
write_version
def write_version(self, dir_path, version)
Write the new version to the VERSION file.
template_vars
def template_vars(self, dir_path)
Extract template variables from go.mod.