Skip to content

Commit 1c19c7a

Browse files
[tagpr] prepare for the next release
1 parent de69e9c commit 1c19c7a

File tree

3 files changed

+56
-1
lines changed

3 files changed

+56
-1
lines changed

.github/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
changelog:
2+
exclude:
3+
labels:
4+
- tagpr

.tagpr

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
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+
#
48+
[tagpr]
49+
vPrefix = true
50+
releaseBranch = main
51+
versionFile = version/version.go

version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ package version
22

33
const (
44
Name string = "onecli"
5-
Version string = "0.2.0"
5+
Version string = "0.3.0"
66
)

0 commit comments

Comments
 (0)