-
Notifications
You must be signed in to change notification settings - Fork 15
/
cog.toml
83 lines (73 loc) · 3.56 KB
/
cog.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
from_latest_tag = true
ignore_merge_commits = false
disable_changelog = false
# we never tag any code outside the plugins/ directory. Everything else is build glue.
generate_mono_repository_global_tag = false
# limit which branches to perform bumps from
branch_whitelist = [ "main" ]
# we don't really use [skip ci] action filtering, but leaving here in case we decide to someday
skip_ci = "[skip ci]"
skip_untracked = false
tag_prefix = "v"
# bump hooks for global versions only; we don't use global version, but leaving here for posterity
pre_bump_hooks = []
post_bump_hooks = []
# bump hooks for package versions, which is what we actually use
pre_package_bump_hooks = [
"echo Updating {{package}} from {{latest}} to version {{version}}",
# Confirm the user wishes to proceed
"../../tools/confirm.sh",
# make sure user has correct software installed and is authenticated with `gh` cli tool
"../../tools/validate.sh",
# change the version number of the given plugin in source, and commit it as a chore(version): commit
"../../tools/update_version.sh {{package}} {{version}} -d",
]
# between pre_ and post_ bump hooks, cog itself will update the checked in CHANGELOG.md file, per updated plugin.
post_package_bump_hooks = [
# prepare the github release changelog file
"mkdir -p ../../releases",
"../../tools/extract_changelog.sh CHANGELOG.md > ../../releases/GITHUB_CHANGELOG-{{package}}.md",
# update the version number to have a `dev0` suffix
"../../tools/update_version.sh {{package}} {{version}} --dev",
"git commit --all --message 'chore(version): update {{package}} version to {{version}}.dev0'",
# push the tag and the commits to main
"git push origin {{package}}-v{{version}}",
"git push origin main",
# cut a github release using our conventional-commit changelog
"gh release create {{package}}-v{{version}} --notes-file ../../releases/GITHUB_CHANGELOG-{{package}}.md --title {{package}}-v{{version}} --verify-tag"
]
[git_hooks]
[commit_types]
# exclude chore and ci commits from changelog entries
chore = { changelog_title = "", omit_from_changelog = true }
ci = { changelog_title = "", omit_from_changelog = true }
[changelog]
path = "CHANGELOG.md"
template = "deephaven-changelog-template"
remote = "github.com"
repository = "deephaven-plugins"
owner = "deephaven"
authors = [
{ username = "jnumainville", signature = "Joe Numainville" },
{ username = "mofojed", signature = "Mike Bender" },
{ username = "devinrsmith", signature = "Devin Smith" },
{ username = "mattrunyon", signature = "Matt Runyon" },
{ username = "vbabich", signature = "Vlad Babich" },
{ username = "dsmmcken", signature = "Don McKenzie" },
{ username = "bmingles", signature = "Brian Ingles" },
{ username = "niloc132", signature = "Colin Alworth" },
{ username = "rachelmbrubaker", signature = "Rachel Brubaker" },
{ username = "JamesXNelson", signature = "James Nelson" },
]
[bump_profiles]
[packages]
auth-keyclock = { path = "plugins/auth-keyclock", public_api=false }
dashboard-object-viewer = { path = "plugins/dashboard-object-viewer", public_api=false }
json = { path = "plugins/json", public_api=false }
matplotlib = { path = "plugins/matplotlib", public_api=false }
plotly = { path = "plugins/plotly", public_api=false }
plotly-express = { path = "plugins/plotly-express", public_api=false }
table-example = { path = "plugins/table-example", public_api=false }
ui = { path = "plugins/ui", public_api=false }
packaging = { path = "plugins/packaging", public_api=false }
utilities = { path = "plugins/utilities", public_api=false }