Repository navigation
Expand file tree
/
Copy pathrelease-plz.toml
More file actions
153 lines (133 loc) · 5.5 KB
/
Copy pathrelease-plz.toml
File metadata and controls
153 lines (133 loc) · 5.5 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
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
# release-plz configuration — https://release-plz.dev/docs/config
#
# Unified versioning: every published crate inherits `version.workspace = true`
# from the root Cargo.toml, so the whole workspace moves on a single shared
# version. `version_group` ties the crates together so they are always bumped and
# released in lockstep (the highest next version among them wins), and a single
# stable `v{version}` tag is cut for the workspace as a whole — which is what
# `.github/workflows/release.yml` listens on to build the release.
#
# Beta tags (`v{version}-beta.{N}`) do not come from release-plz.
# `.github/workflows/prerelease.yml` cuts them on `master` while a release PR
# is open, without a version bump: `{version}` is the version that PR
# prepares. `release.yml` builds and publishes both kinds of tag, and
# `cargo xtask release version` tells them apart.
#
# release-plz cuts the tag only; it does NOT create the GitHub Release. The tag
# triggers release.yml, which is the single owner of the GitHub Release: softprops
# creates it as a draft, uploads the DMGs + checksums, then publishes it last.
# (release-plz publishing the release outright made it immutable before release.yml
# could attach assets — "target_commitish cannot be changed when release is
# immutable". Keep `git_release_enable = false` so release.yml owns the lifecycle.)
#
# Changelog: release-plz is package-path-scoped and skips `release = false` app
# crates (gui/agent), so it does NOT own CHANGELOG.md. Whole-repo notes are
# written by git-cliff via `.config/cliff.toml` after each release-pr (same idea as
# GoReleaser's `changelog.use: git` — every conventional commit since the last
# tag, no per-crate path filter).
[workspace]
# Open release PRs from a `release-plz/`-prefixed branch.
pr_branch_prefix = "release-plz/"
# OpenLogi ships as an application, not a published-API library, so
# cargo-semver-checks' "⚠ API breaking changes" analysis is just noise in the
# release PR. Disable it so the PR shows the changelog, not the break risk.
semver_check = false
# Per-crate tags/releases are off; the root crate owns the one workspace release.
git_tag_enable = false
git_release_enable = false
# Version bumps only — root CHANGELOG.md is written by git-cliff (`.config/cliff.toml`).
changelog_update = false
# Only publish/tag when the merged PR's branch carries the prefix above. release-plz
# looks up the PRs GitHub associates with the current commit and skips any other
# master tip ("current commit is not from a release PR"), so a tip newer than the
# version-bump commit never cuts v{version}. Recovering a failed crates.io publish:
# - credentials or network failed: re-run the failed release job on that same SHA.
# - the tree itself cannot publish (a new stable rustc turned `-D warnings` red):
# fix master, then open a PR from a `release-plz/` branch and squash-merge it
# with the subject `chore: release v{version}` so the release job runs on a tree
# that passes. release-plz skips the crates already on the registry and tags the
# merge commit, as #874 did for v0.7.10.
release_always = false
[[package]]
name = "openlogi"
version_group = "openlogi"
git_tag_enable = true
git_tag_name = "v{{ version }}"
# GitHub Release is owned by release.yml (softprops), not release-plz — see header.
git_release_enable = false
[[package]]
name = "openlogi-device-registry"
version_group = "openlogi"
[[package]]
name = "openlogi-core"
version_group = "openlogi"
[[package]]
name = "openlogi-fixture"
version_group = "openlogi"
# The published CLI uses this contract to read the running agent's inventory,
# so IPC is part of the crates.io dependency closure even though its other
# consumers are application crates.
[[package]]
name = "openlogi-ipc"
version_group = "openlogi"
# OS input-event synthesis split out of openlogi-core (depends on it). Published
# with the workspace under unified versioning.
[[package]]
name = "openlogi-inject"
version_group = "openlogi"
[[package]]
name = "openlogi-hid"
version_group = "openlogi"
[[package]]
name = "openlogi-assets"
version_group = "openlogi"
# UVC webcam discovery. Published because `openlogi-cli` (published) depends on
# it by an exact version — a crates.io package cannot depend on an unpublished
# path dependency. It must stay in the version group for that same reason: with
# an independently computed next version it can disagree with the group on the
# single shared `version.workspace` field, and a cli published against a
# camera version that was never pushed to crates.io is a hard publish failure.
[[package]]
name = "openlogi-camera"
version_group = "openlogi"
[[package]]
name = "openlogi-cli"
version_group = "openlogi"
[[package]]
name = "openlogi-hook"
version_group = "openlogi"
# Vendored fork of the `hidpp` crate (0BSD, from lus/logy). Published with the
# workspace under unified versioning; upstream's 0.3.0 is provenance only.
[[package]]
name = "openlogi-hidpp"
version_group = "openlogi"
# App crates: not crates.io packages (git gpui deps / login-item binary).
# `publish = false` must mirror each crate's Cargo.toml.
[[package]]
name = "openlogi-desktop"
release = false
publish = false
[[package]]
name = "openlogi-ui"
release = false
publish = false
[[package]]
name = "openlogi-permissions"
release = false
publish = false
[[package]]
name = "openlogi-overlay"
release = false
publish = false
[[package]]
name = "openlogi-agent-core"
release = false
publish = false
[[package]]
name = "openlogi-flow"
release = false
publish = false
[[package]]
name = "openlogi-agent"
release = false
publish = false