File tree Expand file tree Collapse file tree 4 files changed +53
-5
lines changed Expand file tree Collapse file tree 4 files changed +53
-5
lines changed Original file line number Diff line number Diff line change @@ -65,8 +65,7 @@ Also the images we build are based on some image specified in the `FROM` stateme
65
65
` ` ` bash
66
66
git checkout main
67
67
git reset --hard < upstream> /main
68
- git tag -a x.y.z-beta.1 -m x.y.z-beta.1 < commit on main>
69
- git push --follow-tags < upstream> main
68
+ tbump x.y.z-beta.1
70
69
` ` `
71
70
72
71
- Announce the x.y.z-beta.1 release
@@ -89,8 +88,13 @@ Also the images we build are based on some image specified in the `FROM` stateme
89
88
` ` ` bash
90
89
git checkout main
91
90
git reset --hard < upstream> /main
92
- git tag -a x.y.z -m x.y.z HEAD
93
- git push --follow-tags < upstream> main
91
+ tbump x.y.z
92
+ ` ` `
93
+
94
+ - [ ] Set the next prerelease version (don' t create a tag).
95
+
96
+ ```bash
97
+ tbump --no-tag x.y.z+1-0.dev
94
98
```
95
99
96
100
- [ ] Create a GitHub release.
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ charts:
13
13
# Dev: imagePrefix can be useful to override if you want to trial something
14
14
# locally developed in a remote k8s cluster.
15
15
imagePrefix : jupyterhub/k8s-
16
+ baseVersion : " 2.0.0-beta.1"
16
17
repo :
17
18
git : jupyterhub/helm-chart
18
19
published : https://jupyterhub.github.io/helm-chart
Original file line number Diff line number Diff line change 5
5
#
6
6
# ref: https://github.com/jupyterhub/chartpress
7
7
#
8
- chartpress>=1.1.0
8
+ chartpress>=2.1,<3
9
9
10
10
# pytest run tests that require requests and pyyaml
11
11
pytest>=3.7.1
17
17
18
18
# used to formatting and linting
19
19
pre-commit>=2.0.0
20
+
21
+ # used for tagging releases
22
+ tbump
Original file line number Diff line number Diff line change
1
+ # tbump is a tool to update version fields that we use
2
+ # to update baseVersion in chartpress.yaml as documented
3
+ # in RELEASE.md
4
+ #
5
+ # Config reference: https://github.com/your-tools/tbump#readme
6
+ #
7
+ [version ]
8
+ current = " 2.0.0-beta.1"
9
+
10
+ # match our prerelease prefixes
11
+ # -alpha.1
12
+ # -beta.2
13
+ # -0.dev
14
+
15
+ regex = '''
16
+ (?P<major>\d+)
17
+ \.
18
+ (?P<minor>\d+)
19
+ \.
20
+ (?P<patch>\d+)
21
+ (\-
22
+ (?P<prelease>
23
+ (
24
+ (alpha|beta|rc)\.\d+|
25
+ 0\.dev
26
+ )
27
+ )
28
+ )?
29
+ '''
30
+
31
+ [git ]
32
+ message_template = " Bump to {new_version}"
33
+ tag_template = " {new_version}"
34
+
35
+ # For each file to patch, add a [[file]] config
36
+ # section containing the path of the file, relative to the
37
+ # tbump.toml location.
38
+ [[file ]]
39
+ src = " chartpress.yaml"
40
+ search = ' baseVersion: "{current_version}"'
You can’t perform that action at this time.
0 commit comments