-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsr.yaml
More file actions
45 lines (40 loc) · 1.35 KB
/
sr.yaml
File metadata and controls
45 lines (40 loc) · 1.35 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
# sr configuration
# Full reference: https://github.com/urmzd/sr#configuration
commit:
types:
minor: [feat]
patch: [fix, perf, refactor]
none: [docs, revert, chore, ci, test, build, style]
git:
tag_prefix: "v"
floating_tag: true
sign_tags: false
user:
name: "sr-releaser[bot]"
email: "sr-releaser[bot]@users.noreply.github.com"
channels:
branch: main
changelog:
file: CHANGELOG.md
packages:
- path: "."
version_files: [Cargo.toml]
version_files_strict: false
# Cross-platform binaries are built by the release.yml matrix (one per
# target) and consolidated into release-assets/ before sr runs. sr only
# uploads them — no `hooks.build` because the matrix can't run in one
# process.
artifacts:
- "release-assets/sr-x86_64-unknown-linux-gnu"
- "release-assets/sr-aarch64-unknown-linux-gnu"
- "release-assets/sr-x86_64-unknown-linux-musl"
- "release-assets/sr-aarch64-unknown-linux-musl"
- "release-assets/sr-x86_64-apple-darwin"
- "release-assets/sr-aarch64-apple-darwin"
- "release-assets/sr-x86_64-pc-windows-msvc.exe"
# Typed cargo publisher, iterated in `[workspace].members` order
# (sr-core before sr-cli). `check` probes crates.io; already-published
# versions are skipped, so re-runs are noops.
publish:
type: cargo
workspace: true