forked from ptgoetz/go-versionbump
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathversionbump.yaml
More file actions
22 lines (19 loc) · 888 Bytes
/
versionbump.yaml
File metadata and controls
22 lines (19 loc) · 888 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
version: "0.7.1" # The current version of the project.
git-commit: true # Whether to create a git commit for the version bump.
git-tag: true # Whether to create a git tag for the version bump.
git-sign: false # Whether to sign the git tag.
build-label: "build" # The label to use for build versions.
files: # The files to update with the new version.
- path: "internal/versionbump.go" # The path to the file to update.
replace:
- "\"{version}\"" # The search string to replace in the file.
- path: "README.md"
replace:
- "**Latest Version:** v{version}"
# Rewrite download URLs in the README to point to the new version.
- "/v{version}"
# Update the version in the usage example.
- "VersionBump v{version}"
- path: "Makefile"
replace:
- "VERSION := \"v{version}\""