File tree Expand file tree Collapse file tree 2 files changed +52
-0
lines changed
Expand file tree Collapse file tree 2 files changed +52
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Bump version
2+ run-name : Bump ${{ github.event.inputs.version }} version
3+
4+ on :
5+ workflow_dispatch :
6+ inputs :
7+ version :
8+ type : choice
9+ description : Version
10+ options :
11+ - patch
12+ - minor
13+ - major
14+
15+ jobs :
16+ version :
17+ permissions :
18+ contents : write
19+ uses : crowdin/.github/.github/workflows/bump-version.yml@main
Original file line number Diff line number Diff line change 1+ {
2+ "git" : {
3+ "push" : true ,
4+ "commit" : true ,
5+ "commitMessage" : " chore: version ${version} [skip ci]" ,
6+ "requireBranch" : " master" ,
7+ "changelog" : false ,
8+ "tag" : true
9+ },
10+ "github" : {
11+ "release" : false
12+ },
13+ "plugins" : {
14+ "@j-ulrich/release-it-regex-bumper" : {
15+ "in" : " build.gradle" ,
16+ "out" : [
17+ {
18+ "file" : " README.md" ,
19+ "search" : {
20+ "pattern" : " \\ d+\\ .\\ d+\\ .\\ d+" ,
21+ "flags" : " g"
22+ },
23+ "replace" : " {{versionWithoutPrerelease}}"
24+ },
25+ {
26+ "file" : " build.gradle" ,
27+ "search" : " ^version '\\ d+\\ .\\ d+\\ .\\ d+'" ,
28+ "replace" : " version '{{versionWithoutPrerelease}}'"
29+ }
30+ ]
31+ }
32+ }
33+ }
You can’t perform that action at this time.
0 commit comments