Skip to content

Commit

Permalink
update config base
Browse files Browse the repository at this point in the history
  • Loading branch information
Songmu committed Aug 20, 2022
1 parent 333f6ed commit 71a1d78
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,19 @@ import (

const (
defaultConfigFile = ".rcpr"
defaultConfigContent = `# config file for rcpr in git config format
defaultConfigContent = `# config file for the rcpr in git config format
# The rcpr generates the initial configuration, which you can rewrite to suit your environment.
# CONFIGURATIONS:
# rcpr.releaseBranch
# Generally, it is "main." It is the branch for releases. The pcpr tracks this branch,
# creates or updates a pull request as a release candidate, or tags when they are merged.
#
# rcpr.versinFile
# A versioning file containing the semantic version needed to be updated at release.
# It will be synchronized with the "git tag".
# Often this is a meta-information file such as gemspec, setup.cfg, package.json, etc.
# Sometimes the source code file, such as version.go or Bar.pm, is used.
# If you do not want to use versioning files but only git tags, specify the "-" string here.
[rcpr]
`
envReleaseBranch = "RCPR_RELEASE_BRANCH"
Expand Down

0 comments on commit 71a1d78

Please sign in to comment.