Skip to content

Commit 485aa6d

Browse files
authored
ci: Allow to use Craft's new auto-versioning (#5218)
### Description Craft will support [automatic versioning based on commit messages](getsentry/craft@061f9fa) from version 2.14.0, so that you can just put "auto" (or "major", "minor", "patch") as the version to release and it'll determine the rest. It's not out yet, but preparing for once it is. #### Issues <!-- * resolves: #1234 * resolves: LIN-1234 --> #### Reminders - Please add tests to validate your changes, and lint your code using `tox -e linters`. - Add GH Issue ID _&_ Linear ID (if applicable) - PR title should use [conventional commit](https://develop.sentry.dev/engineering-practices/commit-messages/#type) style (`feat:`, `fix:`, `ref:`, `meta:`) - For external contributors: [CONTRIBUTING.md](https://github.com/getsentry/sentry-python/blob/master/CONTRIBUTING.md), [Sentry SDK development docs](https://develop.sentry.dev/sdk/), [Discord community](https://discord.gg/Ww9hbqr)
1 parent c8d8d60 commit 485aa6d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.craft.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
minVersion: 0.34.1
1+
minVersion: 2.17.0
22
targets:
33
- name: pypi
44
includeNames: /^sentry[_\-]sdk.*$/

.github/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,28 @@ changelog:
1010
- "Changelog: Feature"
1111
commit_patterns:
1212
- "^feat\\b"
13+
semver: minor
1314
- title: Bug Fixes 🐛
1415
labels:
1516
- "Changelog: Bugfix"
1617
commit_patterns:
1718
- "^(fix|bugfix)\\b"
19+
semver: patch
1820
- title: Deprecations 🏗️
1921
labels:
2022
- "Changelog: Deprecation"
2123
commit_patterns:
2224
- "deprecat" # deprecation, deprecated
25+
semver: patch
2326
- title: Documentation 📚
2427
labels:
2528
- "Changelog: Docs"
2629
commit_patterns:
2730
- "^docs?\\b"
31+
semver: patch
2832
- title: Internal Changes 🔧
2933
labels:
3034
- "Changelog: Internal"
3135
commit_patterns:
3236
- "^(build|ref|chore|ci|tests?)\\b"
37+
semver: patch

0 commit comments

Comments
 (0)