mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-10-30 14:49:14 +00:00
- Add `preReleaseCommand` to `.craft.yml` so Craft runs the custom bump script instead of silently skipping version bumping (the auto-bump path introduced with minVersion 2.21.0+ only works for npm/pypi/etc. targets, not the `github` target used here) - Switch `bump-version.sh` to read `CRAFT_OLD_VERSION`/`CRAFT_NEW_VERSION` env vars (Craft's preferred interface), falling back to positional args so `post-release.sh` continues to work unchanged - Fix the README `sed` pattern which stopped matching after the README was rewritten in Sep 2024 (removed erroneous backslash before `#`, and relaxed trailing match to allow zero characters after "Sentry") - Remove the invalid `calver: true` input from the Craft action call in `release.yml` (not a recognised input; calver is configured in `.craft.yml` via `versioning.policy`)
10 lines
173 B
YAML
10 lines
173 B
YAML
minVersion: 2.21.6
|
|
changelogPolicy: auto
|
|
preReleaseCommand: bash scripts/bump-version.sh
|
|
artifactProvider:
|
|
name: none
|
|
targets:
|
|
- name: github
|
|
versioning:
|
|
policy: calver
|