Repository navigation
Expand file tree
/
Copy pathrelease-plz.toml
More file actions
102 lines (92 loc) · 3.53 KB
/
Copy pathrelease-plz.toml
File metadata and controls
102 lines (92 loc) · 3.53 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
[workspace]
# Create a single release PR for the whole workspace
release_commits = "^(feat|fix|chore|refactor|perf|docs|ci|test)(\\(.*\\))?!?:"
# Only release the server binary — internal crates are not published
# TODO: when ready to publish to crates.io, publish all internal workspace
# crates (tinycloud-auth, tinycloud-core, dependencies/siwe, siwe-recap,
# cacao) with versioned deps so this can resolve. The crates.io name
# `tinycloud-node` is reserved separately via a placeholder publish.
[[package]]
name = "tinycloud-node"
# Skipping crates.io until internal workspace crates (tinycloud-auth,
# tinycloud-core, dependencies/*) are also published with versioned deps.
# Binary distribution happens via GitHub Releases + cargo-dist installers.
publish = false
# TC-342 — READ THIS BEFORE ASSUMING RELEASE-PLZ BUMPS THE VERSION. IT DOES NOT.
#
# `publish = false` only skips `cargo publish`; release-plz still compares the
# local version against the crates.io release. `tinycloud-node` on crates.io is
# a reserved 0.0.1 placeholder, so on every push to main where HEAD is ahead of
# the newest `v*` tag, release-plz's updater takes this branch:
#
# INFO tinycloud-node: local version (1.9.0) > registry version (0.0.1).
# Only changelog will be updated.
# INFO the repository is already up-to-date
# release_pr_output: {"prs":[]}
#
# It concludes a human already bumped the version, never computes a next
# version, and exits 0. 35 consecutive post-tag runs reported success while
# doing nothing, so 1.8.0, 1.9.0 and 1.10.0 were all hand-chosen and
# hand-committed. Versioning in this repo is MANUAL — see docs/releasing.md.
#
# The documented fix is `git_only = true`
# (https://release-plz.dev/docs/config#the-git_only-field), which resolves the
# last release from the `git_tag_name` tags below instead of the registry. It
# was tried and it CANNOT be used here yet: git-only mode runs
# `cargo package --allow-dirty --workspace` in a worktree at the release tag
# (release_plz_core::next_ver::run_cargo_package), and this workspace is not
# packageable:
#
# 1. dependencies/{siwe,siwe-recap,cacao}/Cargo.toml set
# license-file = "../LICENSE.md", which does not exist (the license is at
# the repo root). Fixable in three lines.
# 2. Blocking: siwe-recap depends on `ucan-capabilities-object` and
# tinycloud-auth depends on `ssi`, both unpublished TinyCloud git forks.
# `cargo package` rejects any git/path dependency without a version
# requirement, so `cargo package --workspace` cannot succeed until those
# forks are published or vendored.
#
# Flip `git_only = true` once (2) is resolved, and delete the manual process
# from docs/releasing.md when you do.
# cargo-dist's release workflow owns GitHub Release creation; release-plz only tags.
git_release_enable = false
git_tag_enable = true
git_tag_name = "v{{ version }}"
changelog_include = ["tinycloud-core", "tinycloud-auth"]
# Internal crates — skip release
[[package]]
name = "tinycloud-core"
release = false
publish = false
[[package]]
name = "tinycloud-auth"
release = false
publish = false
[[package]]
name = "tinycloud-sdk-rs"
release = false
publish = false
[[package]]
name = "tinycloud-sdk-wasm"
release = false
publish = false
[[package]]
name = "tinycloud-verifier-wasm"
release = false
publish = false
[[package]]
name = "siwe"
release = false
publish = false
[[package]]
name = "siwe-recap"
release = false
publish = false
[[package]]
name = "cacaos"
release = false
publish = false
[[package]]
name = "tinycloud-threshold"
release = false
publish = false