Skip to content

Commit c4f4651

Browse files
committed
ci: add tagpr setting files
1 parent 65d4261 commit c4f4651

File tree

2 files changed

+46
-0
lines changed

2 files changed

+46
-0
lines changed

.github/release.yml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
changelog:
2+
exclude:
3+
labels:
4+
- tagpr

.tagpr

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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.
25+
#
26+
# tagpr.template (Optional)
27+
# Pull request template in go template format
28+
#
29+
# tagpr.release (Optional)
30+
# GitHub Release creation behavior after tagging [true, draft, false]
31+
# If this value is not set, the release is to be created.
32+
#
33+
# tagpr.majorLabels (Optional)
34+
# Label of major update targets. Default is [major]
35+
#
36+
# tagpr.minorLabels (Optional)
37+
# Label of minor update targets. Default is [minor]
38+
#
39+
[tagpr]
40+
releaseBranch = main
41+
vPrefix = true
42+
versionFile = ./Cargo.toml

0 commit comments

Comments
 (0)