1
- # tagpr - tag pull request based release flow
2
- # https://github.com/Songmu/tagpr
3
-
1
+ # config file for the tagpr in git config format
2
+ # The tagpr generates the initial configuration, which you can rewrite to suit your environment.
3
+ # CONFIGURATIONS:
4
+ # tagpr.releaseBranch
5
+ # Generally, it is "main." It is the branch for releases. The tagpr tracks this branch,
6
+ # creates or updates a pull request as a release candidate, or tags when they are merged.
7
+ #
8
+ # tagpr.versionFile
9
+ # Versioning file containing the semantic version needed to be updated at release.
10
+ # It will be synchronized with the "git tag".
11
+ # Often this is a meta-information file such as gemspec, setup.cfg, package.json, etc.
12
+ # Sometimes the source code file, such as version.go or Bar.pm, is used.
13
+ # If you do not want to use versioning files but only git tags, specify the "-" string here.
14
+ # You can specify multiple version files by comma separated strings.
15
+ #
16
+ # tagpr.vPrefix
17
+ # Flag whether or not v-prefix is added to semver when git tagging. (e.g. v1.2.3 if true)
18
+ # This is only a tagging convention, not how it is described in the version file.
19
+ #
20
+ # tagpr.changelog (Optional)
21
+ # Flag whether or not changelog is added or changed during the release.
22
+ #
23
+ # tagpr.command (Optional)
24
+ # Command to change files just before release and versioning.
25
+ #
26
+ # tagpr.postVersionCommand (Optional)
27
+ # Command to change files just after versioning.
28
+ #
29
+ # tagpr.template (Optional)
30
+ # Pull request template file in go template format
31
+ #
32
+ # tagpr.templateText (Optional)
33
+ # Pull request template text in go template format
34
+ #
35
+ # tagpr.release (Optional)
36
+ # GitHub Release creation behavior after tagging [true, draft, false]
37
+ # If this value is not set, the release is to be created.
38
+ #
39
+ # tagpr.majorLabels (Optional)
40
+ # Label of major update targets. Default is [major]
41
+ #
42
+ # tagpr.minorLabels (Optional)
43
+ # Label of minor update targets. Default is [minor]
44
+ #
45
+ # tagpr.commitPrefix (Optional)
46
+ # Prefix of commit message. Default is "[tagpr]"
47
+ #
4
48
[tagpr]
5
- # versioning rule. available: "git" or "semver"
6
- versionFile = "-"
7
- vPrefix = true
8
- releaseBranch = "main"
9
- changelog = true
10
- command = "make build"
11
-
12
- # Major release branch prefix
13
- # When you create a branch with this prefix, tagpr will create a major release
14
- # e.g. "release/v1", "release/v2"
15
- majorBranchPrefix = "release/v"
16
-
17
- # Release commit message template
18
- # Available variables: {{.Version}}, {{.PrevVersion}}, {{.Changelog}}
19
- releaseCommit = "Release {{.Version}}"
20
-
21
- # Release body template for GitHub Release
22
- # Available variables: {{.Version}}, {{.PrevVersion}}, {{.Changelog}}
23
- releaseBody = |
24
- ## {{.Version}}
25
-
26
- {{.Changelog}}
49
+ vPrefix = true
50
+ releaseBranch = main
51
+ versionFile = -
0 commit comments