forked from jupyterlab/jupyterlab-desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tbump.toml
49 lines (43 loc) · 1.15 KB
/
tbump.toml
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
# github_url = "https://github.com/jupyterlab/jupyterlab-desktop/"
[version]
current = "3.2.5-2"
regex = '''
(?P<major>\d+)
\.
(?P<minor>\d+)
\.
(?P<patch>\d+)
\-
(?P<build>\d+)
'''
[git]
message_template = "Bump to {new_version}"
tag_template = "v{new_version}"
[[file]]
src = "package.json"
search = '"version": "{current_version}"'
[[file]]
src = "electron-builder-scripts/linux_after_install.sh"
search = 'JupyterLabDesktopAppServer-{current_version}-Linux'
[[file]]
src = "electron-builder-scripts/postinstall"
search = 'JupyterLabDesktopAppServer-{current_version}-MacOSX'
[[file]]
src = "electron-builder-scripts/wininstall.nsh"
search = 'JupyterLabDesktopAppServer-{current_version}-Windows'
[[file]]
src = "env_installer/construct.yaml"
search = 'version: {current_version}'
[[file]]
src = "env_installer/construct.yaml"
version_template = "{major}.{minor}.{patch}"
search = '- jupyterlab {current_version}'
[[file]]
src = "src/browser/index.html"
search = '"appVersion": "{current_version}"'
# [[before_commit]]
# name = "check changelog"
# cmd = "grep -q {new_version} Changelog.rst"
# [[after_push]]
# name = "publish"
# cmd = "./publish.sh"