-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.repver
More file actions
53 lines (50 loc) · 1.57 KB
/
.repver
File metadata and controls
53 lines (50 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# https://github.com/UnitVectorY-Labs/repver
commands:
- name: "goversion"
params:
- name: "version"
pattern: "^(?P<major>0|[1-9]\\d*)\\.(?P<minor>0|[1-9]\\d*)\\.(?P<patch>0|[1-9]\\d*)$"
targets:
- path: "go.mod"
pattern: "^go (?P<version>.*) // GOVERSION$"
transform: "{{major}}.{{minor}}"
- path: ".github/workflows/build-go.yml"
pattern: "^ go-version: '(?P<version>.*)' # GOVERSION$"
git:
create_branch: true
branch_name: "repver/go-v{{version}}"
commit: true
commit_message: "Update Go version to v{{version}}"
push: true
remote: "origin"
pull_request: "GITHUB_CLI"
return_to_original_branch: true
delete_branch: true
- name: "justthedocsversion"
targets:
- path: "docs/_config.yml"
pattern: "^remote_theme: just-the-docs/just-the-docs@(?P<version>.*)$"
git:
create_branch: true
branch_name: "repver/just-the-docs-{{version}}"
commit: true
commit_message: "Update just-the-docs version to v{{version}}"
push: true
remote: "origin"
pull_request: "GITHUB_CLI"
return_to_original_branch: true
delete_branch: true
- name: "mermaidversion"
targets:
- path: "docs/_config.yml"
pattern: "^ version: \"{{.Config.versions.mermaid}}\" # MERMAIDVERSION$"
git:
create_branch: true
branch_name: "repver/mermaid-{{version}}"
commit: true
commit_message: "Update mermaid version to v{{version}}"
push: true
remote: "origin"
pull_request: "GITHUB_CLI"
return_to_original_branch: true
delete_branch: true