# Release config for the ferrocrypt (lib) crate.
#
# `prerelease = true` is REQUIRED on both rules: cargo-release does not apply
# pre-release-replacements on pre-release versions (0.3.0-beta.3, 1.0.0-rc.1, …)
# unless it is set. Both rules run during the lib's release step; the lib is
# always part of a shared-version release.
#
# Paths are relative to this directory (ferrocrypt-lib/):
# - ../CHANGELOG.md workspace-root changelog; gets a dated section.
# - ../ferrocrypt-desktop/... excluded from the workspace, so shared-version
# does not bump it; its version is synced here.
[[]]
= "../CHANGELOG.md"
= "(?m)^## \\[Unreleased\\]\\n\\n"
= """## [Unreleased]
## [{{version}}] - {{date}}
"""
= true
[[]]
= "../ferrocrypt-desktop/Cargo.toml"
= '^version = ".*"'
= 'version = "{{version}}"'
= 1
= true